3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libmediainfo/default.nix
Ryan Mulligan dc104c9849 libmediainfo: 17.10 -> 17.12
Semi-automatic update. These checks were performed:

- built on NixOS
- found 17.12 with grep in /nix/store/8x38418jc8j511k8dk4jc2if6iizbz2b-libmediainfo-17.12
- found 17.12 in filename of file in /nix/store/8x38418jc8j511k8dk4jc2if6iizbz2b-libmediainfo-17.12

cc "@devhell"
2018-02-26 20:48:44 -08:00

32 lines
895 B
Nix

{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
stdenv.mkDerivation rec {
version = "17.12";
name = "libmediainfo-${version}";
src = fetchurl {
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
sha256 = "0lm4454ynp0msgqm3s0mnxqxql6i1ank35jvff5swnaxvwsbp0ml";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libzen zlib ];
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
configureFlags = [ "--enable-shared" ];
enableParallelBuilding = true;
postInstall = ''
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
'';
meta = with stdenv.lib; {
description = "Shared library for mediainfo";
homepage = https://mediaarea.net/;
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
};
}