2008-03-26 08:20:25 -07:00
|
|
|
{stdenv, fetchurl, guile, texinfo}:
|
2008-02-12 03:16:53 -08:00
|
|
|
|
2015-05-11 14:37:53 -07:00
|
|
|
assert stdenv ? cc && stdenv.cc.isGNU;
|
2011-04-16 09:27:55 -07:00
|
|
|
|
2008-02-12 03:16:53 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-15 15:24:12 -08:00
|
|
|
name = "guile-lib-0.2.2";
|
2010-09-05 08:19:23 -07:00
|
|
|
|
2008-02-12 03:16:53 -08:00
|
|
|
src = fetchurl {
|
2010-09-05 08:19:23 -07:00
|
|
|
url = "mirror://savannah/guile-lib/${name}.tar.gz";
|
2013-12-15 15:24:12 -08:00
|
|
|
sha256 = "1f9n2b5b5r75lzjinyk6zp6g20g60msa0jpfrk5hhg4j8cy0ih4b";
|
2008-02-12 03:16:53 -08:00
|
|
|
};
|
|
|
|
|
2008-03-26 08:20:25 -07:00
|
|
|
buildInputs = [guile texinfo];
|
2008-02-12 03:16:53 -08:00
|
|
|
|
2008-03-26 08:20:25 -07:00
|
|
|
doCheck = true;
|
|
|
|
|
2011-03-28 05:05:17 -07:00
|
|
|
preCheck =
|
|
|
|
# Make `libgcc_s.so' visible for `pthread_cancel'.
|
2015-01-14 20:25:26 -08:00
|
|
|
'' export LD_LIBRARY_PATH="$(dirname $(echo ${stdenv.cc.cc}/lib*/libgcc_s.so)):$LD_LIBRARY_PATH"
|
2011-03-28 05:05:17 -07:00
|
|
|
'';
|
|
|
|
|
2008-02-12 03:16:53 -08:00
|
|
|
meta = {
|
2009-03-03 05:27:40 -08:00
|
|
|
description = "Guile-Library, a collection of useful Guile Scheme modules";
|
2011-04-23 14:15:01 -07:00
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' guile-lib is intended as an accumulation place for pure-scheme Guile
|
|
|
|
modules, allowing for people to cooperate integrating their generic
|
|
|
|
Guile modules into a coherent library. Think "a down-scaled,
|
|
|
|
limited-scope CPAN for Guile".
|
|
|
|
'';
|
|
|
|
|
2010-09-05 08:19:23 -07:00
|
|
|
homepage = http://www.nongnu.org/guile-lib/;
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-09-05 08:19:23 -07:00
|
|
|
|
2015-01-13 13:33:24 -08:00
|
|
|
maintainers = [ ];
|
2010-09-05 08:19:23 -07:00
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
2008-02-12 03:16:53 -08:00
|
|
|
};
|
|
|
|
}
|