nixpkgs/pkgs/development/tools/guile/guile-lint/default.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

27 lines
759 B
Nix

{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
'';
doCheck = true;
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";
};
}