From ad3a9e9cab0ace359508393c5fb6461a6d201a3c Mon Sep 17 00:00:00 2001 From: Keshav Kini Date: Tue, 2 Jul 2024 13:41:32 -0700 Subject: [PATCH] avdump3: init at 8293_stable --- pkgs/by-name/av/avdump3/package.nix | 59 +++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 pkgs/by-name/av/avdump3/package.nix diff --git a/pkgs/by-name/av/avdump3/package.nix b/pkgs/by-name/av/avdump3/package.nix new file mode 100644 index 000000000000..8091d25a2f41 --- /dev/null +++ b/pkgs/by-name/av/avdump3/package.nix @@ -0,0 +1,59 @@ +{ + lib, + stdenv, + fetchzip, + dotnet-runtime, + zlib, + runtimeShell, +}: + +stdenv.mkDerivation rec { + pname = "avdump3"; + version = "8293_stable"; + + src = fetchzip { + url = "https://cdn.anidb.net/client/avdump3/avdump3_8293_stable.zip"; + hash = "sha256-H9Sn3I4S9CmymKIMHVagDy+7svHs285S3EJgYQo+ks0="; + stripRoot = false; + }; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/avdump3 $out/bin + mv * $out/share/avdump3 + cat > $out/bin/avdump3 <