Merge pull request #187569 from sikmir/guile-hall
guile-hall: init at 0.4.1
This commit is contained in:
commit
d8879fcc8a
29
pkgs/development/guile-modules/guile-config/default.nix
Normal file
29
pkgs/development/guile-modules/guile-config/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, texinfo, guile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "guile-config";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "a-sassmannshausen";
|
||||
repo = "guile-config";
|
||||
rev = version;
|
||||
hash = "sha256-n4ukGCyIx5G1ITfKSqS6FGJ6dnDBsyxXKSFNi81E4Gg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config texinfo ];
|
||||
|
||||
buildInputs = [ guile ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Configuration management library for GNU Guile";
|
||||
homepage = "https://gitlab.com/a-sassmannshausen/guile-config";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = guile.meta.platforms;
|
||||
};
|
||||
}
|
48
pkgs/development/tools/guile/guile-hall/default.nix
Normal file
48
pkgs/development/tools/guile/guile-hall/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ 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=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config texinfo makeWrapper ];
|
||||
|
||||
buildInputs = [ guile guile-config ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall =
|
||||
let
|
||||
guileVersion = lib.versions.majorMinor guile.version;
|
||||
in
|
||||
''
|
||||
wrapProgram $out/bin/hall \
|
||||
--prefix GUILE_LOAD_PATH : "$out/share/guile/site/${guileVersion}:$GUILE_LOAD_PATH" \
|
||||
--prefix GUILE_LOAD_COMPILED_PATH : "$out/lib/guile/${guileVersion}/site-ccache:$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";
|
||||
homepage = "https://gitlab.com/a-sassmannshausen/guile-hall";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = guile.meta.platforms;
|
||||
};
|
||||
}
|
@ -15927,6 +15927,8 @@ with pkgs;
|
||||
|
||||
guile-commonmark = callPackage ../development/guile-modules/guile-commonmark { };
|
||||
|
||||
guile-config = callPackage ../development/guile-modules/guile-config { };
|
||||
|
||||
guile-fibers = callPackage ../development/guile-modules/guile-fibers { };
|
||||
|
||||
guile-gcrypt = callPackage ../development/guile-modules/guile-gcrypt { };
|
||||
@ -16927,6 +16929,8 @@ with pkgs;
|
||||
|
||||
guff = callPackage ../tools/graphics/guff { };
|
||||
|
||||
guile-hall = callPackage ../development/tools/guile/guile-hall { };
|
||||
|
||||
guile-lint = callPackage ../development/tools/guile/guile-lint {
|
||||
guile = guile_1_8;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user