diff --git a/pkgs/development/interpreters/gauche/boot.nix b/pkgs/development/interpreters/gauche/boot.nix index 61c67b13f78f..497ebba15557 100644 --- a/pkgs/development/interpreters/gauche/boot.nix +++ b/pkgs/development/interpreters/gauche/boot.nix @@ -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; diff --git a/pkgs/development/interpreters/gauche/default.nix b/pkgs/development/interpreters/gauche/default.nix index d596455fe015..62903de6bb8b 100644 --- a/pkgs/development/interpreters/gauche/default.nix +++ b/pkgs/development/interpreters/gauche/default.nix @@ -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