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

66 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
autoreconfHook,
pkg-config,
texinfo,
makeWrapper,
guile,
guile-config,
}:
stdenv.mkDerivation rec {
pname = "guile-hall";
version = "0.4.1";
src = fetchFromGitLab {
owner = "a-sassmannshausen";
repo = "guile-hall";
rev = version;
hash = "sha256-TUCN8kW44X6iGbSJURurcz/Tc2eCH1xgmXH1sMOMOXs=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
guile
pkg-config
texinfo
makeWrapper
];
buildInputs = [
guile
guile-config
];
enableParallelBuilding = true;
doCheck = true;
postInstall = ''
wrapProgram $out/bin/hall \
--prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \
--prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH"
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
export HOME=$TMPDIR
$out/bin/hall --version | grep ${version} > /dev/null
runHook postInstallCheck
'';
meta = with lib; {
description = "Project manager and build tool for GNU guile";
mainProgram = "hall";
homepage = "https://gitlab.com/a-sassmannshausen/guile-hall";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sikmir ];
platforms = guile.meta.platforms;
};
}