Files
nixpkgs/pkgs/by-name/gu/guile-lzlib/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchurl,
autoreconfHook,
guile,
pkg-config,
texinfo,
lzlib,
fetchpatch,
}:
stdenv.mkDerivation rec {
pname = "guile-lzlib";
version = "0.3.0";
src = fetchurl {
url = "https://notabug.org/guile-lzlib/guile-lzlib/archive/${version}.tar.gz";
hash = "sha256-p/mcjSoUPgXqItstyLnObCfK6UIWK0XuMBXtkCevD/I=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
guile
pkg-config
texinfo
];
propagatedBuildInputs = [
guile
lzlib
];
patches = [
# fix support for gcc14
(fetchpatch {
url = "https://notabug.org/guile-lzlib/guile-lzlib/commit/3fd524d1f0e0b9beeca53c514620b970a762e3da.patch";
hash = "sha256-I1SSdygNixjx5LL/UPOgEGLILWWYKKfOGoCvXM5Sp/E=";
})
];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
# tests fail on darwin
doCheck = !stdenv.hostPlatform.isDarwin;
meta = with lib; {
description = "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;
};
}