mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Add Guile-Lint, a syntax and semantics checker for GNU Guile.
svn path=/nixpkgs/trunk/; revision=10710
This commit is contained in:
parent
4fd7a30a36
commit
9c3c9f94e5
26
pkgs/development/tools/guile/guile-lint/default.nix
Normal file
26
pkgs/development/tools/guile/guile-lint/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{stdenv, fetchurl, guile}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "guile-lint-14";
|
||||
src = fetchurl {
|
||||
url = "http://www.geocities.com/user42_kevin/guile-lint/"
|
||||
+ name + ".tar.bz2.bin";
|
||||
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
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ''Guile-Lint checks syntax and semantics in a
|
||||
Guile program or module.'';
|
||||
homepage = http://www.geocities.com/user42_kevin/guile-lint/index.html;
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
@ -1861,6 +1861,10 @@ rec {
|
||||
inherit cabal;
|
||||
};
|
||||
|
||||
guileLint = import ../development/tools/guile/guile-lint {
|
||||
inherit fetchurl stdenv guile;
|
||||
};
|
||||
|
||||
# happy = import ../development/tools/parsing/happy {
|
||||
# inherit fetchurl stdenv perl ghc;
|
||||
# };
|
||||
|
Loading…
Reference in New Issue
Block a user