Merge pull request #290523 from marsam/update-chez

chez: 9.6.4 -> 10.0.0

authored by Mario Rodas and committed by GitHub 9fac9b39 8bee50f7

+13 -14
+13 -14
pkgs/development/compilers/chez/default.nix
··· 1 { lib, stdenv, fetchurl 2 , coreutils, cctools 3 - , ncurses, libiconv, libX11, libuuid 4 }: 5 6 stdenv.mkDerivation (finalAttrs: { 7 pname = "chez-scheme"; 8 - version = "9.6.4"; 9 10 src = fetchurl { 11 url = "https://github.com/cisco/ChezScheme/releases/download/v${finalAttrs.version}/csv${finalAttrs.version}.tar.gz"; 12 - hash = "sha256-9YJ2gvolnEeXX/4Hh4X7Vh5KXFT3ZDMe9mwyEyhDaF0="; 13 }; 14 15 nativeBuildInputs = lib.optional stdenv.isDarwin cctools; ··· 28 ** NixOS or in any chroot build. 29 */ 30 patchPhase = '' 31 - substituteInPlace ./configure \ 32 - --replace "git submodule init && git submodule update || exit 1" "true" 33 - 34 - substituteInPlace ./workarea \ 35 - --replace "/bin/ln" ln \ 36 - --replace "/bin/cp" cp 37 - 38 substituteInPlace ./makefiles/installsh \ 39 - --replace "/usr/bin/true" "${coreutils}/bin/true" 40 41 substituteInPlace zlib/configure \ 42 - --replace "/usr/bin/libtool" libtool 43 ''; 44 45 /* ··· 52 ** for. 53 */ 54 configurePhase = '' 55 - ./configure --threads --installprefix=$out --installman=$out/share/man 56 ''; 57 58 /* ··· 64 65 setupHook = ./setup-hook.sh; 66 67 meta = { 68 description = "A powerful and incredibly fast R6RS Scheme compiler"; 69 homepage = "https://cisco.github.io/ChezScheme/"; 70 license = lib.licenses.asl20; 71 maintainers = with lib.maintainers; [ thoughtpolice ]; 72 platforms = lib.platforms.unix; 73 - badPlatforms = [ "aarch64-linux" "aarch64-darwin" ]; 74 }; 75 })
··· 1 { lib, stdenv, fetchurl 2 , coreutils, cctools 3 + , ncurses, libiconv, libX11, libuuid, testers 4 }: 5 6 stdenv.mkDerivation (finalAttrs: { 7 pname = "chez-scheme"; 8 + version = "10.0.0"; 9 10 src = fetchurl { 11 url = "https://github.com/cisco/ChezScheme/releases/download/v${finalAttrs.version}/csv${finalAttrs.version}.tar.gz"; 12 + hash = "sha256-03GZASte0ZhcQGnWqH/xjl4fWi3yfkApkfr0XcTyIyw="; 13 }; 14 15 nativeBuildInputs = lib.optional stdenv.isDarwin cctools; ··· 28 ** NixOS or in any chroot build. 29 */ 30 patchPhase = '' 31 substituteInPlace ./makefiles/installsh \ 32 + --replace-warn "/usr/bin/true" "${coreutils}/bin/true" 33 34 substituteInPlace zlib/configure \ 35 + --replace-warn "/usr/bin/libtool" libtool 36 ''; 37 38 /* ··· 45 ** for. 46 */ 47 configurePhase = '' 48 + ./configure --as-is --threads --installprefix=$out --installman=$out/share/man 49 ''; 50 51 /* ··· 57 58 setupHook = ./setup-hook.sh; 59 60 + passthru.tests = { 61 + version = testers.testVersion { 62 + package = finalAttrs.finalPackage; 63 + }; 64 + }; 65 + 66 meta = { 67 description = "A powerful and incredibly fast R6RS Scheme compiler"; 68 homepage = "https://cisco.github.io/ChezScheme/"; 69 license = lib.licenses.asl20; 70 maintainers = with lib.maintainers; [ thoughtpolice ]; 71 platforms = lib.platforms.unix; 72 + mainProgram = "scheme"; 73 }; 74 })