1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, libmediainfo, zlib }:
3 stdenv.mkDerivation rec {
7 url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
8 sha256 = "sha256-mGowC8wnNJij5dpOlwHX3m7uGZ7TbUInPdP+nsesi30=";
11 nativeBuildInputs = [ autoreconfHook pkg-config ];
12 buildInputs = [ libzen libmediainfo zlib ];
14 sourceRoot = "./MediaInfo/Project/GNU/CLI/";
16 configureFlags = [ "--with-libmediainfo=${libmediainfo}" ];
18 enableParallelBuilding = true;
21 description = "Supplies technical and tag information about a video or audio file";
23 MediaInfo is a convenient unified display of the most relevant technical
24 and tag data for video and audio files.
26 homepage = "https://mediaarea.net/";
27 license = licenses.bsd2;
28 platforms = platforms.unix;
29 maintainers = [ maintainers.devhell ];