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

32 lines
1.1 KiB
Nix
Raw Normal View History

2020-07-20 05:02:29 +01:00
{ stdenv, fetchurl, autoreconfHook, pkgconfig, 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 {
2020-08-26 13:34:46 +01:00
version = "20.08";
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";
2020-08-26 13:34:46 +01:00
sha256 = "1baf2dj5s3g1x4ssqli1b2r1203syk42m09zhp36qcinmfixv11l";
2014-12-18 20:06:09 +00:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
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 stdenv.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
};
}