Start work on client shell script
This commit is contained in:
21
default.nix
Normal file
21
default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
let
|
||||
pkgs = import <nixpkgs> {};
|
||||
in
|
||||
with pkgs;
|
||||
stdenv.mkDerivation {
|
||||
pname = "triav1c";
|
||||
version = "0.0.0-20200715-0";
|
||||
|
||||
src = ./. ;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp src/static/triav1c.sh $out/bin/triav1c
|
||||
chmod +x $out/bin/triav1c
|
||||
|
||||
wrapProgram $out/bin/triav1c \
|
||||
--prefix PATH : ${lib.makeBinPath [ ffmpeg libaom ]}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user