2008-02-15 16:30:33 +00:00
|
|
|
{stdenv, fetchurl, guile}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "guile-lint-14";
|
|
|
|
src = fetchurl {
|
2012-06-22 19:30:44 +01:00
|
|
|
url = "http://download.tuxfamily.org/user42/" + name + ".tar.bz2";
|
2008-02-15 16:30:33 +00:00
|
|
|
sha256 = "5bfcf7a623338b2ef81ac097e3e136eaf32856dd0730b7eeaff3161067b5d0be";
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2008-03-26 15:20:25 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2008-02-15 16:30:33 +00:00
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "Guile-Lint checks syntax and semantics in a Guile program or module";
|
2012-06-22 19:30:44 +01:00
|
|
|
homepage = http://user42.tuxfamily.org/guile-lint/index.html;
|
2008-02-15 16:30:33 +00:00
|
|
|
license = "GPL";
|
2017-03-30 00:17:47 +01:00
|
|
|
broken = true;
|
2008-02-15 16:30:33 +00:00
|
|
|
};
|
|
|
|
}
|