1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK32
2 , desktop-file-utils, libSM, imagemagick, darwin }:
5 inherit (darwin.apple_sdk.frameworks) Cocoa;
7 stdenv.mkDerivation rec {
8 pname = "mediainfo-gui";
12 url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
13 hash = "sha256-MvSoKjHjhuF3/fbkwjcFPkdbUBCJJpqyxylFKgkxNSA=";
16 nativeBuildInputs = [ autoreconfHook pkg-config ];
18 buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
19 ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
21 sourceRoot = "MediaInfo/Project/GNU/GUI";
23 enableParallelBuilding = true;
26 description = "Supplies technical and tag information about a video or audio file (GUI version)";
28 MediaInfo is a convenient unified display of the most relevant technical
29 and tag data for video and audio files.
31 homepage = "https://mediaarea.net/";
32 license = licenses.bsd2;
33 platforms = platforms.unix;
34 maintainers = [ maintainers.devhell ];
35 mainProgram = "mediainfo-gui";