mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
dc104c9849
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"
32 lines
895 B
Nix
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 ];
|
|
};
|
|
}
|