11 stdenv.mkDerivation rec {
16 url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
17 hash = "sha256-E3TC2Dnmoz0ZDNHavZx/h3U/g4T1W4ZvPhQhVcIrSbE=";
32 substituteInPlace configure.ac \
33 --replace 'SITEDIR="$datadir/guile-lib"' 'SITEDIR=$datadir/guile/site/$GUILE_EFFECTIVE_VERSION' \
34 --replace 'SITECCACHEDIR="$libdir/guile-lib/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"' 'SITECCACHEDIR="$libdir/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"'
37 makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
39 doCheck = !stdenv.hostPlatform.isDarwin;
42 # Make `libgcc_s.so' visible for `pthread_cancel'.
43 export LD_LIBRARY_PATH=\
44 "$(dirname $(echo ${lib.getLib stdenv.cc.cc}/lib*/libgcc_s.so))''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
48 homepage = "https://www.nongnu.org/guile-lib/";
49 description = "Collection of useful Guile Scheme modules";
51 guile-lib is intended as an accumulation place for pure-scheme Guile
52 modules, allowing for people to cooperate integrating their generic Guile
53 modules into a coherent library. Think "a down-scaled, limited-scope CPAN
56 license = licenses.gpl3Plus;
57 maintainers = with maintainers; [
61 platforms = guile.meta.platforms;