Merge pull request #42919 from mnacamura/gauche

gauche: 0.9.5 -> 0.9.6
This commit is contained in:
Silvan Mosberger 2018-07-04 04:08:38 +02:00 committed by GitHub
commit 4180cdf62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,29 @@
{ stdenv, fetchurl, pkgconfig, texinfo, libiconv, gdbm, openssl, zlib }:
{ stdenv, fetchurl, pkgconfig, texinfo, libiconv, gdbm, openssl, zlib
, mbedtls, cacert
}:
stdenv.mkDerivation rec {
name = "gauche-${version}";
version = "0.9.5";
version = "0.9.6";
src = fetchurl {
url = "mirror://sourceforge/gauche/Gauche-${version}.tgz";
sha256 = "0g77nik15whm5frxb7l0pwzd95qlq949dym5pn5p04p17lhm72jc";
sha256 = "1bwwwvyxsrp2a4cfib6hn0hcgwzmp2znylm088w09f331miji2fd";
};
nativeBuildInputs = [ pkgconfig texinfo ];
buildInputs = [ libiconv gdbm openssl zlib ];
buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ];
postPatch = ''
patchShebangs .
'';
configureFlags = [
"--enable-multibyte=utf-8"
"--with-iconv=${libiconv}"
"--with-dbm=gdbm"
"--with-zlib=${zlib}"
"--with-ca-bundle=$SSL_CERT_FILE"
# TODO: Enable slib
# Current slib in nixpkgs is specialized to Guile
# "--with-slib=${slibGuile}/lib/slib"