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
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
guile,
|
|
libgit2,
|
|
scheme-bytestructures,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
texinfo,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "guile-git";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "guile-git";
|
|
repo = "guile-git";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-ihKpEnng6Uemrguecbd25vElEhIu2Efb86aM8679TAc=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
guile
|
|
pkg-config
|
|
texinfo
|
|
];
|
|
buildInputs = [
|
|
guile
|
|
];
|
|
propagatedBuildInputs = [
|
|
libgit2
|
|
scheme-bytestructures
|
|
];
|
|
doCheck = true;
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# Skipping proxy tests since it requires network access.
|
|
postConfigure = ''
|
|
sed -i -e '94i (test-skip 1)' ./tests/proxy.scm
|
|
'';
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = {
|
|
description = "Bindings to Libgit2 for GNU Guile";
|
|
homepage = "https://gitlab.com/guile-git/guile-git";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
|
platforms = guile.meta.platforms;
|
|
};
|
|
})
|