Add `doCheck' for Guile-Lint and Guile-Library.

svn path=/nixpkgs/trunk/; revision=11289
This commit is contained in:
Ludovic Courtès 2008-03-26 15:20:25 +00:00
parent 31bc21974d
commit 62bcc0f821
3 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, guile}: {stdenv, fetchurl, guile, texinfo}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "guile-lib-0.1.6"; name = "guile-lib-0.1.6";
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
sha256 = "827744c7954078f1f37e0bf70252ec70b4d60c1482a3542a49bd09723cf65d12"; sha256 = "827744c7954078f1f37e0bf70252ec70b4d60c1482a3542a49bd09723cf65d12";
}; };
buildInputs = [guile]; buildInputs = [guile texinfo];
postInstall = '' postInstall = ''
# Remove modules already provided by Guile. # Remove modules already provided by Guile.
@ -29,9 +29,11 @@ stdenv.mkDerivation rec {
done done
''; '';
doCheck = true;
meta = { meta = {
description = ''Guile-Library, a set of various useful description = ''Guile-Library, a collection of useful Guile
Guile Scheme modules.''; Scheme modules'';
homepage = http://home.gna.org/guile-lib/; homepage = http://home.gna.org/guile-lib/;
license = "GPL"; license = "GPL";
}; };

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
mv ,,tmp guile-lint.in mv ,,tmp guile-lint.in
''; '';
doCheck = true;
meta = { meta = {
description = ''Guile-Lint checks syntax and semantics in a description = ''Guile-Lint checks syntax and semantics in a
Guile program or module.''; Guile program or module.'';

View File

@ -1795,7 +1795,7 @@ let pkgs = rec {
}; };
guileLib = import ../development/guile-modules/guile-lib { guileLib = import ../development/guile-modules/guile-lib {
inherit fetchurl stdenv guile; inherit fetchurl stdenv guile texinfo;
}; };
windowssdk = import ../development/misc/windows-sdk { windowssdk = import ../development/misc/windows-sdk {