From 8c6bef0bb06e62a8dc791bc7dc349c902d2ce5a6 Mon Sep 17 00:00:00 2001 From: Andres Löh Date: Mon, 20 Jul 2009 13:02:56 +0000 Subject: Version bump to ghc-6.10.4. svn path=/nixpkgs/trunk/; revision=16430 --- pkgs/development/compilers/ghc/6.10.4.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/development/compilers/ghc/6.10.4.nix (limited to 'pkgs/development/compilers/ghc') 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"; + }; +} -- cgit 1.4.1