From 259512e64aac4301cb412feda51a72a7d6c200ad Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 29 Sep 2023 14:05:20 +0800 Subject: [PATCH] guile-zlib: init at 0.1.0 --- pkgs/by-name/gu/guile-zlib/package.nix | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/gu/guile-zlib/package.nix diff --git a/pkgs/by-name/gu/guile-zlib/package.nix b/pkgs/by-name/gu/guile-zlib/package.nix new file mode 100644 index 000000000000..a7559ebfbba5 --- /dev/null +++ b/pkgs/by-name/gu/guile-zlib/package.nix @@ -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; + }; +}