Files
nixpkgs/pkgs/by-name/gu/guile-curl/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

52 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
gettext,
guile,
pkg-config,
texinfo,
curl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "guile-curl";
version = "0.10";
src = fetchFromGitHub {
owner = "spk121";
repo = "guile-curl";
tag = "v${finalAttrs.version}";
hash = "sha256-pCYihn3Z0AeGt/6HueMAz0kPFYLVSB5NDPPGOUaAI2U=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
guile
pkg-config
texinfo
];
buildInputs = [
guile
curl
];
# error: possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS
preAutoreconf = ''
cp ${gettext}/share/gettext/m4/lib-{ld,link,prefix}.m4 m4
'';
meta = {
description = "Bindings to cURL for GNU Guile";
homepage = "https://github.com/spk121/guile-curl";
changelog = "https://github.com/spk121/guile-curl/releases/tag/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ethancedwards8 ];
platforms = guile.meta.platforms;
};
})