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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.1 KiB
Nix
Raw Normal View History

2023-01-02 20:02:22 +00:00
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK32
, desktop-file-utils, libSM, imagemagick, darwin }:
2014-12-18 20:06:09 +00:00
2023-01-02 20:02:22 +00:00
let
inherit (darwin.apple_sdk.frameworks) Cocoa;
in
2015-01-12 19:13:15 +00:00
stdenv.mkDerivation rec {
pname = "mediainfo-gui";
2023-12-16 17:50:10 +00:00
version = "23.11";
2023-04-28 12:22:02 +00:00
2014-12-18 20:06:09 +00:00
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
2023-12-16 17:50:10 +00:00
hash = "sha256-gByxsNG//MEibeymISoe41Mi6LsSYwozu7B6kqioycM=";
2014-12-18 20:06:09 +00:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2023-04-28 12:22:02 +00:00
2023-01-02 20:02:22 +00:00
buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
++ lib.optionals stdenv.isDarwin [ Cocoa ];
2014-12-18 20:06:09 +00:00
sourceRoot = "MediaInfo/Project/GNU/GUI";
2014-12-18 20:06:09 +00:00
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;
2023-01-02 20:02:22 +00:00
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
2023-08-04 19:10:05 +00:00
mainProgram = "mediainfo-gui";
2014-12-18 20:06:09 +00:00
};
}