git.iko.soy/typeable/nixpkgs
on master help sign in
chez: 9.5.1 -> 9.5.2

Signed-off-by: Austin Seipp <aseipp@pobox.com>

commite14a706dce788bae4b921980599557109b21b2c9 authorAustin Seipp <aseipp@pobox.com> dateThu 11 Apr 2019, 05:29 (8 years ago) parent3ceb958
1 file changed+19−34
pkgs/development/compilers/chez/default.nix+19−34
pkgs/development/compilers/chez/default.nix+19−34
@@ -1,18 +1,22 @@
1−{ stdenv, fetchgit, coreutils, cctools, ncurses, libiconv, libX11 }:
1+{ stdenv, fetchFromGitHub
2+, coreutils, cctools
3+, ncurses, libiconv, libX11, libuuid
4+}:
25
36stdenv.mkDerivation rec {
47 name = "chez-scheme-${version}";
5− version = "9.5.1";
8+ version = "9.5.2";
69
7− src = fetchgit {
8− url = "https://github.com/cisco/chezscheme.git";
9− rev = "bc117fd4d567a6863689fec6814882a0f04e577a";
10− sha256 = "1adzw7bgdz0p4xmccc6awdkb7bp6xba9mnlsh3r3zvblqfci8i70";
10+ src = fetchFromGitHub {
11+ owner = "cisco";
12+ repo = "ChezScheme";
13+ rev = "refs/tags/v${version}";
14+ sha256 = "1gsjmsvsj31q5l9bjvm869y7bakrvl41yq94vyqdx8zwcr1bmpjf";
1115 fetchSubmodules = true;
1216 };
1317
1418 nativeBuildInputs = [ coreutils ] ++ stdenv.lib.optional stdenv.isDarwin cctools;
15− buildInputs = [ ncurses libiconv libX11 ];
19+ buildInputs = [ ncurses libiconv libX11 libuuid ];
1620
1721 enableParallelBuilding = true;
1822
@@ -49,41 +53,22 @@ stdenv.mkDerivation rec {
4953 ** for.
5054 */
5155 configurePhase = ''
52− ./configure --threads \
53− --installprefix=$out --installman=$out/share/man \
54− --workarea=work
56+ ./configure --threads --installprefix=$out --installman=$out/share/man
5557 '';
5658
5759 /*
58− ** Install the kernel.o file, so we can compile C applications that
59− ** link directly to the Chez runtime (for booting their own files, or
60− ** embedding.)
61− **
62− ** Ideally in the future this would be less of a hack and could be
63− ** done by Chez itself. Alternatively, there could just be a big
64− ** case statement matching to the different stdenv.hostPlatform.platform
65− ** values...
60+ ** Clean up some of the examples from the build output.
6661 */
6762 postInstall = ''
68− m="$(ls ./work/boot)"
69− if [ "x''${m[1]}" != "x" ]; then
70− >&2 echo "ERROR: more than one bootfile build found; this is a nixpkgs error"
71− exit 1
72− fi
73−
74− kernel=./work/boot/$m/kernel.o
75− kerneldest=$out/lib/csv${version}/$m/
76−
77− echo installing $kernel to $kerneldest
78− cp $kernel $kerneldest/kernel.o
63+ rm -rf $out/lib/csv${version}/examples
7964 '';
8065
8166 meta = {
82− description = "A powerful and incredibly fast R6RS Scheme compiler";
83− homepage = https://cisco.github.io/ChezScheme/;
84− license = stdenv.lib.licenses.asl20;
85− platforms = stdenv.lib.platforms.unix;
67+ description = "A powerful and incredibly fast R6RS Scheme compiler";
68+ homepage = https://cisco.github.io/ChezScheme/;
69+ license = stdenv.lib.licenses.asl20;
70+ maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
71+ platforms = stdenv.lib.platforms.unix;
8672 badPlatforms = [ "aarch64-linux" ];
87− maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
8873 };
8974}