mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
31 lines
909 B
Nix
31 lines
909 B
Nix
{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig, libzen, zlib }:
|
|
|
|
let version = "0.7.71"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libmediainfo-${version}";
|
|
src = fetchurl {
|
|
url = "http://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.bz2";
|
|
sha256 = "088v7qsn7d5pijr88fx4azwb31g6d7bp5ykrzgwhskmj80y3rlp2";
|
|
};
|
|
|
|
buildInputs = [ automake autoconf libtool pkgconfig libzen zlib ];
|
|
|
|
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
preConfigure = "sh autogen";
|
|
|
|
postInstall = ''
|
|
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Shared library for mediainfo";
|
|
homepage = http://mediaarena.net/;
|
|
license = stdenv.lib.licenses.bsd2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.devhell ];
|
|
};
|
|
}
|