lol
at v206 38 lines 1.1 kB view raw
1{stdenv, fetchurl, guile, texinfo}: 2 3assert stdenv ? cc && stdenv.cc.isGNU; 4 5stdenv.mkDerivation rec { 6 name = "guile-lib-0.2.2"; 7 8 src = fetchurl { 9 url = "mirror://savannah/guile-lib/${name}.tar.gz"; 10 sha256 = "1f9n2b5b5r75lzjinyk6zp6g20g60msa0jpfrk5hhg4j8cy0ih4b"; 11 }; 12 13 buildInputs = [guile texinfo]; 14 15 doCheck = true; 16 17 preCheck = 18 # Make `libgcc_s.so' visible for `pthread_cancel'. 19 '' export LD_LIBRARY_PATH="$(dirname $(echo ${stdenv.cc.cc}/lib*/libgcc_s.so)):$LD_LIBRARY_PATH" 20 ''; 21 22 meta = { 23 description = "Guile-Library, a collection of useful Guile Scheme modules"; 24 25 longDescription = 26 '' guile-lib is intended as an accumulation place for pure-scheme Guile 27 modules, allowing for people to cooperate integrating their generic 28 Guile modules into a coherent library. Think "a down-scaled, 29 limited-scope CPAN for Guile". 30 ''; 31 32 homepage = http://www.nongnu.org/guile-lib/; 33 license = stdenv.lib.licenses.gpl3Plus; 34 35 maintainers = [ ]; 36 platforms = stdenv.lib.platforms.gnu; # arbitrary choice 37 }; 38}