depot/third_party/nixpkgs/pkgs/development/libraries/libzen/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
746 B
Nix

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