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

28 lines
744 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
2021-04-03 17:01:04 +00:00
version = "0.4.39";
pname = "libzen";
src = fetchurl {
url = "https://mediaarea.net/download/source/libzen/${version}/libzen_${version}.tar.bz2";
2021-04-03 17:01:04 +00:00
sha256 = "1rwaxmid9iv65n0y6xlcyxxydsvihjni9ldxpg6pbqz43amp49xx";
};
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 lib; {
description = "Shared library for libmediainfo and mediainfo";
2020-04-06 04:20:47 +00:00
homepage = "https://mediaarea.net/";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
};
}