mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #208799 from wegank/mediainfo-gui-bump
mediainfo-gui: 22.06 -> 22.12
This commit is contained in:
commit
d8b6cb9e29
@ -1,16 +1,20 @@
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK30
|
||||
, desktop-file-utils, libSM, imagemagick }:
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK32
|
||||
, desktop-file-utils, libSM, imagemagick, darwin }:
|
||||
|
||||
let
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "22.06";
|
||||
version = "22.12";
|
||||
pname = "mediainfo-gui";
|
||||
src = fetchurl {
|
||||
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
||||
sha256 = "sha256-mGowC8wnNJij5dpOlwHX3m7uGZ7TbUInPdP+nsesi30=";
|
||||
sha256 = "sha256-kyuCc59zjn22A89bsXByBzGp58YdFFwqVKq7PNC3U7w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libmediainfo wxGTK30 desktop-file-utils libSM imagemagick ];
|
||||
buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
sourceRoot = "./MediaInfo/Project/GNU/GUI/";
|
||||
|
||||
@ -24,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "https://mediaarea.net/";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.devhell ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user