10 stdenv.mkDerivation rec {
12 version = "8293_stable";
15 url = "https://cdn.anidb.net/client/avdump3/avdump3_8293_stable.zip";
16 hash = "sha256-H9Sn3I4S9CmymKIMHVagDy+7svHs285S3EJgYQo+ks0=";
22 mkdir -p $out/share/avdump3 $out/bin
23 mv * $out/share/avdump3
24 cat > $out/bin/avdump3 <<EOF
26 export LD_LIBRARY_PATH="${lib.makeLibraryPath [ zlib ]}:\$LD_LIBRARY_PATH"
27 exec ${dotnet-runtime}/bin/dotnet $out/share/avdump3/AVDump3CL.dll "\$@"
29 chmod +x $out/bin/avdump3
36 mainProgram = "avdump3";
37 description = "Tool for extracting audio/video metadata from media files and uploading it to AniDB";
39 AVDump is a tool to extract meta information from media files while at the
40 same time calculating multiple hashes. Based on that information reports
41 can be generated in multiple forms. Of particular interest is the ability
42 to send those reports back to AniDB and thereby quickly filling in missing
43 metadata for new files.
45 homepage = "https://wiki.anidb.net/Avdump3";
46 sourceProvenance = with lib.sourceTypes; [
50 # partial source code available under MIT license at https://github.com/DvdKhl/AVDump3
51 license = with lib.licenses; [
55 maintainers = with lib.maintainers; [ kini ];
56 # NOTE: aarch64-linux may also work but hasn't been tested; co-maintainers welcome.
57 platforms = [ "x86_64-linux" ];