av1client things
This commit is contained in:
parent
8f0ab5bb2e
commit
a801c22ed3
|
@ -0,0 +1,24 @@
|
||||||
|
self: super:
|
||||||
|
{
|
||||||
|
av1client = super.stdenv.mkDerivation rec {
|
||||||
|
name = "av1client-${version}";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
src = ~/Documents/av1master/src/static;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp client.sh $out/bin/av1client
|
||||||
|
|
||||||
|
sed -i 's,sleep,${super.coreutils}/bin/sleep,' $out/bin/av1client
|
||||||
|
sed -i 's,rm,${super.coreutils}/bin/rm,' $out/bin/av1client
|
||||||
|
sed -i 's,curl,${super.curl}/bin/curl --cacert ${super.cacert}/etc/ssl/certs/ca-bundle.crt,' $out/bin/av1client
|
||||||
|
sed -i 's,jq,${super.jq}/bin/jq,' $out/bin/av1client
|
||||||
|
sed -i 's,ffmpeg ,${super.ffmpeg}/bin/ffmpeg ,' $out/bin/av1client
|
||||||
|
sed -i 's,aomenc ,${self.mylibaom}/bin/aomenc ,' $out/bin/av1client
|
||||||
|
|
||||||
|
chmod +x $out/bin/av1client
|
||||||
|
'';
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue