2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.4.41";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libzen";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://mediaarea.net/download/source/libzen/${version}/libzen_${version}.tar.bz2";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-6yN9fT3Kbca6BocZQgon3gk0p4PMrrKGdWKzWvOQHi0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
|
|
|
sourceRoot = "./ZenLib/Project/GNU/Library/";
|
|
|
|
|
|
|
|
preConfigure = "sh autogen.sh";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Shared library for libmediainfo and mediainfo";
|
|
|
|
homepage = "https://mediaarea.net/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.devhell ];
|
|
|
|
};
|
|
|
|
}
|