Merge pull request #333629 from rc-zb/gaucheBootstrap-0.9.15

gaucheBootstrap: 0.9.12 -> 0.9.15, gauche: 0.9.13 -> 0.9.15
This commit is contained in:
Pol Dellaiera 2024-08-11 20:34:41 +02:00 committed by GitHub
commit b4bc024641
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 64 additions and 14 deletions

View File

@ -1,18 +1,41 @@
{ stdenv, lib, fetchurl, pkg-config, texinfo, libiconv, gdbm, openssl, zlib
, mbedtls, cacert }:
{
stdenv,
lib,
fetchurl,
pkg-config,
texinfo,
libiconv,
gdbm,
openssl,
zlib,
mbedtls,
cacert,
}:
stdenv.mkDerivation rec {
pname = "gauche-bootstrap";
version = "0.9.12";
version = "0.9.15";
src = fetchurl {
url = "https://github.com/shirok/Gauche/releases/download/release${lib.replaceStrings ["."] ["_"] version}/Gauche-${version}.tgz";
hash = "sha256-tK5kkhsHqWZhaV69WqwN7IE9GmjlRqYWCRE9eEP1thc=";
url = "https://github.com/shirok/Gauche/releases/download/release${
lib.replaceStrings [ "." ] [ "_" ] version
}/Gauche-${version}.tgz";
hash = "sha256-NkPie8fIgiz9b7KJLbGF9ljo42STi8LM/O2yOeNa94M=";
};
nativeBuildInputs = [ pkg-config texinfo ];
nativeBuildInputs = [
pkg-config
texinfo
];
buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ];
buildInputs = [
libiconv
gdbm
openssl
zlib
mbedtls
cacert
];
postPatch = ''
patchShebangs .
@ -34,8 +57,9 @@ stdenv.mkDerivation rec {
doCheck = false;
meta = with lib; {
description = "R7RS Scheme scripting engine";
description = "R7RS Scheme scripting engine (released version)";
homepage = "https://practical-scheme.net/gauche/";
mainProgram = "gosh";
maintainers = with maintainers; [ mnacamura ];
license = licenses.bsd3;
platforms = platforms.unix;

View File

@ -1,20 +1,46 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook, gaucheBootstrap, pkg-config, texinfo
, libiconv, gdbm, openssl, zlib, mbedtls, cacert, CoreServices }:
{
stdenv,
lib,
fetchFromGitHub,
autoreconfHook,
gaucheBootstrap,
pkg-config,
texinfo,
libiconv,
gdbm,
openssl,
zlib,
mbedtls,
cacert,
CoreServices,
}:
stdenv.mkDerivation rec {
pname = "gauche";
version = "0.9.13";
version = "0.9.15";
src = fetchFromGitHub {
owner = "shirok";
repo = pname;
rev = "release${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-XD4zJzCktGi/E9sA6BVm9JVQBVrG5119EjZNbP1pVJU=";
hash = "sha256-M2vZqTMkob+WxUnCo4NDxS4pCVNleVBqkiiRp9nG/KA=";
};
nativeBuildInputs = [ gaucheBootstrap pkg-config texinfo autoreconfHook ];
nativeBuildInputs = [
gaucheBootstrap
pkg-config
texinfo
autoreconfHook
];
buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
buildInputs = [
libiconv
gdbm
openssl
zlib
mbedtls
cacert
] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
autoreconfPhase = ''
./DIST gen