1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/guile-modules/guile-lib/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

32 lines
809 B
Nix

{stdenv, fetchurl, guile, texinfo}:
stdenv.mkDerivation rec {
name = "guile-lib-0.1.6";
src = fetchurl {
url = "http://download.gna.org/guile-lib/" + name + ".tar.gz";
sha256 = "827744c7954078f1f37e0bf70252ec70b4d60c1482a3542a49bd09723cf65d12";
};
buildInputs = [guile texinfo];
postInstall = ''
# Remove modules already provided by Guile.
if "${guile}/bin/guile" -c '(use-modules (srfi srfi-34))'
then
rm -f "$out/share/guile/site/srfi/srfi-34.scm"
fi
if "${guile}/bin/guile" -c '(use-modules (srfi srfi-35))'
then
rm -f "$out/share/guile/site/srfi/srfi-35.scm"
fi
'';
doCheck = true;
meta = {
description = "Guile-Library, a collection of useful Guile Scheme modules";
homepage = http://home.gna.org/guile-lib/;
license = "GPL";
};
}