Merge pull request #260446 from wegank/guile-lzlib-init

guile-lzlib: init at 0.0.2
This commit is contained in:
Weijia Wang 2023-10-14 14:04:57 +02:00 committed by GitHub
commit 2b09dcf7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,37 @@
{ lib
, stdenv
, fetchurl
, autoreconfHook
, guile
, pkg-config
, texinfo
, lzlib
}:
stdenv.mkDerivation rec {
pname = "guile-lzlib";
version = "0.0.2";
src = fetchurl {
url = "https://notabug.org/guile-lzlib/guile-lzlib/archive/${version}.tar.gz";
hash = "sha256-hiPbd9RH57n/v8vCiDkOcGprGomxFx2u1gh0z+x+T4c=";
};
strictDeps = true;
nativeBuildInputs = [ autoreconfHook guile pkg-config texinfo ];
propagatedBuildInputs = [ guile lzlib ];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
# tests fail on darwin
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "A GNU Guile library providing bindings to lzlib";
homepage = "https://notabug.org/guile-lzlib/guile-lzlib";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = guile.meta.platforms;
};
}