1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, libmediainfo, zlib }:
3 stdenv.mkDerivation rec {
8 url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
9 hash = "sha256-MvSoKjHjhuF3/fbkwjcFPkdbUBCJJpqyxylFKgkxNSA=";
12 nativeBuildInputs = [ autoreconfHook pkg-config ];
13 buildInputs = [ libzen libmediainfo zlib ];
15 sourceRoot = "MediaInfo/Project/GNU/CLI";
17 configureFlags = [ "--with-libmediainfo=${libmediainfo}" ];
19 enableParallelBuilding = true;
22 description = "Supplies technical and tag information about a video or audio file";
24 MediaInfo is a convenient unified display of the most relevant technical
25 and tag data for video and audio files.
27 homepage = "https://mediaarea.net/";
28 license = licenses.bsd2;
29 platforms = platforms.unix;
30 maintainers = [ maintainers.devhell ];
31 mainProgram = "mediainfo";