av1master client
This commit is contained in:
parent
eae3c19e9f
commit
edd44fb34e
|
@ -23,6 +23,11 @@ in
|
||||||
JAVMovieScraper = pkgs.callPackage ./pkgs/JAVMovieScraper { };
|
JAVMovieScraper = pkgs.callPackage ./pkgs/JAVMovieScraper { };
|
||||||
vcsi = pkgs.callPackage ./pkgs/vcsi {};
|
vcsi = pkgs.callPackage ./pkgs/vcsi {};
|
||||||
|
|
||||||
|
grav1 = pkgs.callPackage ./pkgs/grav1/server.nix { wsgiserver = wsgiserver; setuptools = pkgs.python3Packages.setuptools; };
|
||||||
|
grav1c = pkgs.callPackage ./pkgs/grav1/client.nix { };
|
||||||
|
|
||||||
|
av1client = pkgs.callPackage ./pkgs/av1master/client.nix { };
|
||||||
|
|
||||||
janus = pkgs.libsForQt5.callPackage ./pkgs/JanusVR/client { };
|
janus = pkgs.libsForQt5.callPackage ./pkgs/JanusVR/client { };
|
||||||
|
|
||||||
radical-native = pkgs.callPackage ./pkgs/radical-native { };
|
radical-native = pkgs.callPackage ./pkgs/radical-native { };
|
||||||
|
@ -31,8 +36,6 @@ in
|
||||||
plotbitrate = pkgs.callPackage ./pkgs/plotbitrate { };
|
plotbitrate = pkgs.callPackage ./pkgs/plotbitrate { };
|
||||||
|
|
||||||
mangohud = pkgs.callPackage ./pkgs/MangoHUD { };
|
mangohud = pkgs.callPackage ./pkgs/MangoHUD { };
|
||||||
grav1 = pkgs.callPackage ./pkgs/grav1/server.nix { wsgiserver = wsgiserver; setuptools = pkgs.python3Packages.setuptools; };
|
|
||||||
grav1c = pkgs.callPackage ./pkgs/grav1/client.nix { };
|
|
||||||
|
|
||||||
botamusique = pkgs.callPackage ./pkgs/botamusique { };
|
botamusique = pkgs.callPackage ./pkgs/botamusique { };
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
lib, stdenv, fetchFromGitLab, makeWrapper,
|
||||||
|
bash, ffmpeg, libaom, libvmaf, curl, jq, coreutils,
|
||||||
|
cacert, shipCACerts ? false
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "av1client";
|
||||||
|
version = "0.13.0";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "git.dodsorf.as";
|
||||||
|
owner = "dandellion";
|
||||||
|
repo = "av1master";
|
||||||
|
rev = "ecf32d4045e90a524917eaad202ddb6f249f7d28";
|
||||||
|
sha256 = "1wzx4mfhhd309a2gdkmqmnmj47g9ncv40d0ynj1hnpimjsw29510";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
buildInputs = [ bash ffmpeg libaom libvmaf curl jq coreutils cacert ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp src/static/client.sh $out/bin/av1client
|
||||||
|
chmod +x $out/bin/av1client
|
||||||
|
|
||||||
|
${if shipCACerts == true
|
||||||
|
then
|
||||||
|
"sed -i \'s,curl,curl --cacert " + cacert + "/etc/ssl/certs/ca-bundle.crt" + ",\' $out/bin/av1client"
|
||||||
|
else
|
||||||
|
""
|
||||||
|
}
|
||||||
|
|
||||||
|
wrapProgram $out/bin/av1client \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ffmpeg libaom curl jq coreutils]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue