guile-zlib: init at 0.1.0

This commit is contained in:
Gabriel Arazas 2023-09-29 14:05:20 +08:00 committed by Weijia Wang
parent 0d7a1fd3fd
commit 259512e64a

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;
};
}