1 { lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config
2 , texinfo, makeWrapper, guile, guile-config }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitLab {
9 owner = "a-sassmannshausen";
12 hash = "sha256-TUCN8kW44X6iGbSJURurcz/Tc2eCH1xgmXH1sMOMOXs=";
15 nativeBuildInputs = [ autoreconfHook pkg-config texinfo makeWrapper ];
17 buildInputs = [ guile guile-config ];
19 enableParallelBuilding = true;
24 wrapProgram $out/bin/hall \
25 --prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \
26 --prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH"
29 doInstallCheck = true;
30 installCheckPhase = ''
31 runHook preInstallCheck
33 $out/bin/hall --version | grep ${version} > /dev/null
34 runHook postInstallCheck
38 description = "Project manager and build tool for GNU guile";
40 homepage = "https://gitlab.com/a-sassmannshausen/guile-hall";
41 license = licenses.gpl3Plus;
42 maintainers = with maintainers; [ sikmir ];
43 platforms = guile.meta.platforms;