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 {
2021-04-03 19:53:44 +01:00
version = "21.03";
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";
2021-04-03 19:53:44 +01:00
sha256 = "07h2a1lbw5ak6c9bcn8qydchl0wpgk945rf9sfcqjyv05h5wll6y";
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
};
}