about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
authorAndres Löh <mail@andres-loeh.de>2009-07-20 13:02:56 +0000
committerAndres Löh <mail@andres-loeh.de>2009-07-20 13:02:56 +0000
commit8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6 (patch)
tree8e6a2bbe1cf73b3fd43da3281e52930f05f36103 /pkgs/development/compilers/ghc
parentcb82de9ceb96109aaa226904d5d78be2c92b2080 (diff)
downloadnixlib-8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6.tar
nixlib-8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6.tar.gz
nixlib-8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6.tar.bz2
nixlib-8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6.tar.lz
nixlib-8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6.tar.xz
nixlib-8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6.tar.zst
nixlib-8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6.zip
Version bump to ghc-6.10.4.
svn path=/nixpkgs/trunk/; revision=16430
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/6.10.4.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/6.10.4.nix b/pkgs/development/compilers/ghc/6.10.4.nix
new file mode 100644
index 000000000000..71643a88f0df
--- /dev/null
+++ b/pkgs/development/compilers/ghc/6.10.4.nix
@@ -0,0 +1,27 @@
+{stdenv, fetchurl, libedit, ghc, perl, gmp, ncurses}:
+
+stdenv.mkDerivation rec {
+  version = "6.10.4";
+  
+  name = "ghc-${version}";
+  
+  homepage = "http://haskell.org/ghc";
+
+  src = fetchurl {
+    url = "${homepage}/dist/${version}/${name}-src.tar.bz2";
+    sha256 = "d66a8e52572f4ff819fe5c4e34c6dd1e84a7763e25c3fadcc222453c0bd8534d";
+  };
+
+  buildInputs = [ghc libedit perl gmp];
+
+  configureFlags=[
+    "--with-gmp-libraries=${gmp}/lib"
+    "--with-gmp-includes=${gmp}/include"
+    "--with-gcc=${stdenv.gcc}/bin/gcc"
+  ];
+
+  meta = {
+    inherit homepage;
+    description = "The Glasgow Haskell Compiler";
+  };
+}