nixpkgs/pkgs/development/libraries/libzen/default.nix

28 lines
746 B
Nix
Raw Normal View History

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