2016-03-11 23:11:22 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook }:
|
2014-12-17 01:24:18 +01:00
|
|
|
|
2016-03-11 23:11:22 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-12-17 13:57:27 +01:00
|
|
|
version = "0.4.34";
|
2014-12-17 01:24:18 +01:00
|
|
|
name = "libzen-${version}";
|
|
|
|
src = fetchurl {
|
2016-03-11 23:11:22 +01:00
|
|
|
url = "https://mediaarea.net/download/source/libzen/${version}/libzen_${version}.tar.bz2";
|
2016-12-17 13:57:27 +01:00
|
|
|
sha256 = "02krmhl6dplidz6h251ajpzzdhzzm0hp0lwwv9rgn55xjgh4yxw3";
|
2014-12-17 01:24:18 +01:00
|
|
|
};
|
|
|
|
|
2016-03-11 23:11:22 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2014-12-19 00:11:55 +01:00
|
|
|
configureFlags = [ "--enable-shared" ];
|
2014-12-17 01:24:18 +01:00
|
|
|
|
|
|
|
sourceRoot = "./ZenLib/Project/GNU/Library/";
|
|
|
|
|
2015-11-08 16:05:26 +01:00
|
|
|
preConfigure = "sh autogen.sh";
|
2014-12-17 01:24:18 +01:00
|
|
|
|
2016-03-11 23:11:22 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-12-17 01:24:18 +01:00
|
|
|
description = "Shared library for libmediainfo and mediainfo";
|
2016-03-11 23:11:22 +01:00
|
|
|
homepage = https://mediaarea.net/;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.devhell ];
|
2014-12-17 01:24:18 +01:00
|
|
|
};
|
|
|
|
}
|