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 <