2016-03-12 14:13:39 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, wxGTK
|
2018-02-25 02:23:58 +00:00
|
|
|
, desktop-file-utils, libSM, imagemagick }:
|
2014-12-18 20:06:09 +00:00
|
|
|
|
2015-01-12 19:13:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-05-11 12:14:40 +01:00
|
|
|
version = "18.05";
|
2014-12-18 20:06:09 +00:00
|
|
|
name = "mediainfo-gui-${version}";
|
|
|
|
src = fetchurl {
|
2017-10-11 09:13:00 +01:00
|
|
|
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
2018-05-11 12:14:40 +01:00
|
|
|
sha256 = "0rgsfplisf729n1j3fyg82wpw88aahisrddn5wq9yx8hz6m96h6r";
|
2014-12-18 20:06:09 +00:00
|
|
|
};
|
|
|
|
|
2016-03-12 14:13:39 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ libzen libmediainfo wxGTK desktop-file-utils libSM
|
2016-03-12 14:13:39 +00:00
|
|
|
imagemagick ];
|
2014-12-18 20:06:09 +00:00
|
|
|
|
|
|
|
sourceRoot = "./MediaInfo/Project/GNU/GUI/";
|
|
|
|
|
2017-11-08 10:33:04 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-03-12 14:13:39 +00:00
|
|
|
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.
|
|
|
|
'';
|
2017-10-11 09:13:00 +01:00
|
|
|
homepage = https://mediaarea.net/;
|
2016-03-12 14:13:39 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.devhell ];
|
2014-12-18 20:06:09 +00:00
|
|
|
};
|
|
|
|
}
|