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

26 lines
720 B
Nix
Raw Normal View History

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