nixpkgs/pkgs/applications/misc/mediainfo-gui/default.nix

32 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, libmediainfo, wxGTK30-gtk3
, desktop-file-utils, libSM, imagemagick }:
2014-12-18 20:06:09 +00:00
2015-01-12 19:13:15 +00:00
stdenv.mkDerivation rec {
version = "20.09";
pname = "mediainfo-gui";
2014-12-18 20:06:09 +00:00
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
sha256 = "0rqg9z7s5bk7vlvjrs4gackzg7ib05a0dffi2ihsjf5a7kw7wcir";
2014-12-18 20:06:09 +00:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2020-07-20 05:02:29 +01:00
buildInputs = [ libzen libmediainfo wxGTK30-gtk3 desktop-file-utils libSM
imagemagick ];
2014-12-18 20:06:09 +00:00
sourceRoot = "./MediaInfo/Project/GNU/GUI/";
2017-11-08 10:33:04 +00:00
enableParallelBuilding = true;
meta = with lib; {
2014-12-18 20:06:09 +00:00
description = "Supplies technical and tag information about a video or audio file (GUI version)";
longDescription = ''
MediaInfo is a convenient unified display of the most relevant technical
and tag data for video and audio files.
'';
homepage = "https://mediaarea.net/";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = [ maintainers.devhell ];
2014-12-18 20:06:09 +00:00
};
}