depot/third_party/nixpkgs/pkgs/by-name/gu/guile-zlib/package.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

39 lines
880 B
Nix

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