Start work on client shell script

This commit is contained in:
Daniel Olsen
2020-07-15 04:19:34 +02:00
parent 90775ea37e
commit ef043548c7
3 changed files with 103 additions and 0 deletions

21
default.nix Normal file
View 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 ]}
'';
}