Merge pull request #29850 from vyp/fix/guile-lint
guile-lint: fix build by building with guile 1.8
This commit is contained in:
commit
f86e253b28
@ -1,27 +1,30 @@
|
||||
{stdenv, fetchurl, guile}:
|
||||
{ stdenv, fetchurl, guile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "guile-lint-14";
|
||||
name = "guile-lint-${version}";
|
||||
version = "14";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.tuxfamily.org/user42/" + name + ".tar.bz2";
|
||||
sha256 = "5bfcf7a623338b2ef81ac097e3e136eaf32856dd0730b7eeaff3161067b5d0be";
|
||||
url = "https://download.tuxfamily.org/user42/${name}.tar.bz2";
|
||||
sha256 = "1gnhnmki05pkmzpbfc07vmb2iwza6vhy75y03bw2x2rk4fkggz2v";
|
||||
};
|
||||
|
||||
buildInputs = [ guile ];
|
||||
|
||||
unpackPhase = ''tar xjvf "$src" && sourceRoot="$PWD/${name}"'';
|
||||
patchPhase = ''
|
||||
cat guile-lint.in | \
|
||||
sed 's|^exec guile|exec $\{GUILE:-${guile}/bin/guile}|g' > ,,tmp && \
|
||||
mv ,,tmp guile-lint.in
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace guile-lint.in --replace \
|
||||
"exec guile" "exec ${guile}/bin/guile"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Guile-Lint checks syntax and semantics in a Guile program or module";
|
||||
homepage = http://user42.tuxfamily.org/guile-lint/index.html;
|
||||
license = "GPL";
|
||||
broken = true;
|
||||
meta = with stdenv.lib; {
|
||||
description = "Checks syntax and semantics in a Guile program or module";
|
||||
homepage = "https://user42.tuxfamily.org/guile-lint/index.html";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ vyp ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -69,6 +69,7 @@ mapAliases (rec {
|
||||
guileCairo = guile-cairo; # added 2017-09-24
|
||||
guileGnome = guile-gnome; # added 2017-09-24
|
||||
guile_lib = guile-lib; # added 2017-09-24
|
||||
guileLint = guile-lint; # added 2017-09-27
|
||||
guile_ncurses = guile-ncurses; # added 2017-09-24
|
||||
gupnptools = gupnp-tools; # added 2015-12-19
|
||||
gnustep-make = gnustep.make; # added 2016-7-6
|
||||
|
@ -7189,7 +7189,9 @@ with pkgs;
|
||||
|
||||
gtkdialog = callPackage ../development/tools/misc/gtkdialog { };
|
||||
|
||||
guileLint = callPackage ../development/tools/guile/guile-lint { };
|
||||
guile-lint = callPackage ../development/tools/guile/guile-lint {
|
||||
guile = guile_1_8;
|
||||
};
|
||||
|
||||
gwrap = callPackage ../development/tools/guile/g-wrap { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user