mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
7b32e5497c
Built and tested locally. From the changelog: ``` Version 0.4.33, 2016-02-29 x File::Open(): using now FILE_APPEND_DATA on windows when append mode is requested x File::Open(): accept file names with * and ? characters on non-Windows platforms x Better MinGW and CygWin compatibility x autogen.sh: Adding missing shebang x Dir/Create: create the parents directory if not existing ``` Additionally, the package was cleaned up, now using `autoreconfHook` and with some helpful pointers by @hrdinka.
26 lines
720 B
Nix
26 lines
720 B
Nix
{ 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 ];
|
|
};
|
|
}
|