Merge pull request #257982 from foo-dogsquared/add-guile-zlib

guile-zlib: init at 0.1.0
This commit is contained in:
Weijia Wang 2023-09-29 10:28:49 +02:00 committed by GitHub
commit 816c9634d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,39 @@
{ stdenv
, lib
, fetchFromGitea
, autoreconfHook
, pkg-config
, guile
, texinfo
, zlib
}:
stdenv.mkDerivation rec {
pname = "guile-zlib";
version = "0.1.0";
src = fetchFromGitea {
domain = "notabug.org";
owner = "guile-zlib";
repo = "guile-zlib";
rev = "v${version}";
hash = "sha256-+5tdp4WcnVuhfMwkr8t3Jd6/U539X5Ys9Pgzy79F4cY=";
};
strictDeps = true;
nativeBuildInputs = [ autoreconfHook guile pkg-config texinfo ];
buildInputs = [ guile ];
propagatedBuildInputs = [ zlib ];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
doCheck = true;
meta = with lib; {
description =
"Guile-zlib is a GNU Guile library providing bindings to zlib";
homepage = "https://notabug.org/guile-zlib/guile-zlib";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = guile.meta.platforms;
};
}