diff options
Diffstat (limited to 'pkgs/development/interpreters/gauche/default.nix')
-rw-r--r-- | pkgs/development/interpreters/gauche/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/gauche/default.nix b/pkgs/development/interpreters/gauche/default.nix index c13a26204e269..2478493d41d79 100644 --- a/pkgs/development/interpreters/gauche/default.nix +++ b/pkgs/development/interpreters/gauche/default.nix @@ -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" |