2016-03-11 22:11:22 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook }:
|
2014-12-17 00:24:18 +00:00
|
|
|
|
2016-03-11 22:11:22 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-06 05:20:47 +01:00
|
|
|
version = "0.4.38";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libzen";
|
2014-12-17 00:24:18 +00:00
|
|
|
src = fetchurl {
|
2016-03-11 22:11:22 +00:00
|
|
|
url = "https://mediaarea.net/download/source/libzen/${version}/libzen_${version}.tar.bz2";
|
2020-04-06 05:20:47 +01:00
|
|
|
sha256 = "1nkygc17sndznpcf71fdrhwpm8z9a3hc9csqlafwswh49axhfkjr";
|
2014-12-17 00:24:18 +00:00
|
|
|
};
|
|
|
|
|
2016-03-11 22:11:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2014-12-18 23:11:55 +00:00
|
|
|
configureFlags = [ "--enable-shared" ];
|
2014-12-17 00:24:18 +00:00
|
|
|
|
|
|
|
sourceRoot = "./ZenLib/Project/GNU/Library/";
|
|
|
|
|
2015-11-08 15:05:26 +00:00
|
|
|
preConfigure = "sh autogen.sh";
|
2014-12-17 00:24:18 +00:00
|
|
|
|
2017-11-08 10:33:04 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-03-11 22:11:22 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-12-17 00:24:18 +00:00
|
|
|
description = "Shared library for libmediainfo and mediainfo";
|
2020-04-06 05:20:47 +01:00
|
|
|
homepage = "https://mediaarea.net/";
|
2016-03-11 22:11:22 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.devhell ];
|
2014-12-17 00:24:18 +00:00
|
|
|
};
|
|
|
|
}
|