slibGuile: 3b5 -> 3b7
This commit is contained in:
parent
d1b20f9567
commit
ae74282918
|
@ -1,25 +1,35 @@
|
||||||
{ fetchurl, lib, stdenv, unzip, scheme, texinfo }:
|
{ lib, stdenv, fetchurl, scheme, texinfo, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "slib";
|
pname = "slib";
|
||||||
version = "3b5";
|
version = "3b7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://groups.csail.mit.edu/mac/ftpdir/scm/${pname}-${version}.zip";
|
url = "https://groups.csail.mit.edu/mac/ftpdir/scm/${pname}-${version}.zip";
|
||||||
sha256 = "0q0p2d53p8qw2592yknzgy2y1p5a9k7ppjx0cfrbvk6242c4mdpq";
|
hash = "sha256-9dXNrTNTlaWlqjfv/iiqgHiyFuo5kR9lGSlnjxrCKLY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./catalog-in-library-vicinity.patch ];
|
patches = [
|
||||||
|
./catalog-in-library-vicinity.patch
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
# slib:require unsupported feature color-database
|
||||||
buildInputs = [ scheme texinfo ];
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace " clrnamdb.scm" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ scheme texinfo unzip ];
|
||||||
|
buildInputs = [ scheme ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s mklibcat{.scm,}
|
ln -s mklibcat{.scm,}
|
||||||
SCHEME_LIBRARY_PATH="$out/lib/slib" make catalogs
|
SCHEME_LIBRARY_PATH="$out/lib/slib" make catalogs
|
||||||
|
|
||||||
sed -i "$out/bin/slib" \
|
sed -i \
|
||||||
-e "/^SCHEME_LIBRARY_PATH/i export PATH=\"${scheme}/bin:\$PATH\""
|
-e '2i export PATH="${scheme}/bin:$PATH"' \
|
||||||
|
-e '3i export GUILE_AUTO_COMPILE=0' \
|
||||||
|
$out/bin/slib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# There's no test suite (?!).
|
# There's no test suite (?!).
|
||||||
|
|
|
@ -24747,8 +24747,7 @@ with pkgs;
|
||||||
slang = callPackage ../development/libraries/slang { };
|
slang = callPackage ../development/libraries/slang { };
|
||||||
|
|
||||||
slibGuile = callPackage ../development/libraries/slib {
|
slibGuile = callPackage ../development/libraries/slib {
|
||||||
scheme = guile_1_8;
|
scheme = guile;
|
||||||
texinfo = texinfo4; # otherwise erros: must be after `@defun' to use `@defunx'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
smpeg = callPackage ../development/libraries/smpeg { };
|
smpeg = callPackage ../development/libraries/smpeg { };
|
||||||
|
|
Loading…
Reference in a new issue