about summary refs log tree commit diff
path: root/pkgs/development/compilers/chicken
diff options
context:
space:
mode:
authorMoritz Ulrich <moritz@tarn-vedra.de>2013-11-28 22:08:19 +0100
committerMoritz Ulrich <moritz@tarn-vedra.de>2013-11-28 22:08:30 +0100
commit32fbf27bc364ae3e7e233f5adbc142658e5a1346 (patch)
treef19a907abf57edd6c2ce42bfba720780fd64e354 /pkgs/development/compilers/chicken
parent075883c218f9bf7ae60d7d69cc7cdad024c06847 (diff)
downloadnixlib-32fbf27bc364ae3e7e233f5adbc142658e5a1346.tar
nixlib-32fbf27bc364ae3e7e233f5adbc142658e5a1346.tar.gz
nixlib-32fbf27bc364ae3e7e233f5adbc142658e5a1346.tar.bz2
nixlib-32fbf27bc364ae3e7e233f5adbc142658e5a1346.tar.lz
nixlib-32fbf27bc364ae3e7e233f5adbc142658e5a1346.tar.xz
nixlib-32fbf27bc364ae3e7e233f5adbc142658e5a1346.tar.zst
nixlib-32fbf27bc364ae3e7e233f5adbc142658e5a1346.zip
Chicken: Downgrade to latest stable release & add pkgs.chicken-dev.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Diffstat (limited to 'pkgs/development/compilers/chicken')
-rw-r--r--pkgs/development/compilers/chicken/default.nix44
1 files changed, 33 insertions, 11 deletions
diff --git a/pkgs/development/compilers/chicken/default.nix b/pkgs/development/compilers/chicken/default.nix
index deb93257df73..6032c7602cf7 100644
--- a/pkgs/development/compilers/chicken/default.nix
+++ b/pkgs/development/compilers/chicken/default.nix
@@ -1,18 +1,40 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl, devSnapshot ? false }:
 
-stdenv.mkDerivation {
-  name = "chicken-4.8.1";
-
-  meta = {
-    homepage = http://www.call-cc.org/;
-    description = "Chicken Scheme";
+let
+  version = if devSnapshot
+    then "4.8.2"
+    else "4.8.0.5";
+  srcRelease = fetchurl {
+    url = "http://code.call-cc.org/releases/4.8.0/chicken-4.8.0.5.tar.gz";
+    sha256 = "1yrhqirqj3l535zr5mv8d1mz9gq876wwwg4nsjfw27663far54av";
   };
-
-  src = fetchurl {
-    url = http://code.call-cc.org/dev-snapshots/2013/01/04/chicken-4.8.1.tar.gz;
-    md5 = "bd758ec7abeaeb4f4c92c290fb5f3db7";
+  srcDev = fetchurl {
+    url = "http://code.call-cc.org/dev-snapshots/2013/08/08/chicken-4.8.2.tar.gz";
+    sha256 = "01g7h0664342nl536mnri4c72kwj4z40vmv1250xfndlr218qdqg";
   };
+in
+stdenv.mkDerivation {
+  name = "chicken-${version}";
+
+  src = if devSnapshot
+    then srcDev
+    else srcRelease;
 
   buildFlags = "PLATFORM=linux PREFIX=$(out) VARDIR=$(out)/var/lib";
   installFlags = "PLATFORM=linux PREFIX=$(out) VARDIR=$(out)/var/lib";
+
+  meta = {
+    homepage = http://www.call-cc.org/;
+    license = "BSD";
+    maintainers = with stdenv.lib.maintainers; [ the-kenny ];
+    platforms = stdenv.lib.platforms.all;
+    description = "A portable compiler for the Scheme programming language";
+    longDescription = ''
+      CHICKEN is a compiler for the Scheme programming language.
+      CHICKEN produces portable and efficient C, supports almost all
+      of the R5RS Scheme language standard, and includes many
+      enhancements and extensions. CHICKEN runs on Linux, MacOS X,
+      Windows, and many Unix flavours.
+    '';
+  };
 }