mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
c39e36f766
Unfortunately I've not been able to keep this updated on a regular basis at the moment, therefore some versions have been skipped. I'm therefore going to just add the link for the changelog: https://mediaarea.net/MediaInfo/ChangeLog
30 lines
860 B
Nix
30 lines
860 B
Nix
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.91";
|
|
name = "libmediainfo-${version}";
|
|
src = fetchurl {
|
|
url = "http://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
|
|
sha256 = "1h39cwd85rgidr0hbwab9dwbjv25xhvjv8y2nv35p3fwrs48p098";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ libzen zlib ];
|
|
|
|
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
postInstall = ''
|
|
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Shared library for mediainfo";
|
|
homepage = http://mediaarea.net/;
|
|
license = licenses.bsd2;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.devhell ];
|
|
};
|
|
}
|