jhc: 0.8.0 -> 0.8.1

Also, bootstrap the compiler with GHC 7.6.3 instead of 6.12.3.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-05-18 10:14:03 -05:00
parent 76beda705e
commit 1651871250
2 changed files with 18 additions and 17 deletions

View file

@ -1,30 +1,31 @@
{
stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
regexCompat, HsSyck, random
}:
{ stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
regexCompat, HsSyck, random }:
stdenv.mkDerivation rec {
name = "jhc-${version}";
version = "0.8.0";
version = "0.8.1";
src = fetchurl {
url = "http://repetae.net/dist/${name}.tar.gz";
sha256 = "0rbv0gpp7glhd9xqy7snbiaiizwnsfg9vzhvyywcvbmb35yivy2a";
sha256 = "11fya5ggk6q4vcm3kwjacfaaqvkammih25saqwlr1g40bcikbnf2";
};
buildInputs = [
perl ghc binary zlib utf8String readline fgl regexCompat HsSyck random
];
patchPhase = ''
substituteInPlace ./src/Util/Interact.hs \
--replace USE_NOLINE USE_READLINE
'';
buildInputs =
[ perl ghc binary zlib utf8String
readline fgl regexCompat HsSyck random
];
meta = {
description = "Whole-program, globally optimizing Haskell compiler";
homepage = "http://repetae.net/computer/jhc/";
description = "A Haskell compiler which aims to produce the most efficient programs";
license = stdenv.lib.licenses.gpl2;
license = stdenv.lib.licenses.bsd;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.aforemny stdenv.lib.maintainers.simons ];
maintainers = with stdenv.lib.maintainers;
[ aforemny simons thoughtpolice ];
};
}

View file

@ -2852,7 +2852,7 @@ let
};
jhc = callPackage ../development/compilers/jhc {
inherit (haskellPackages_ghc6123) ghc binary zlib utf8String readline fgl
inherit (haskellPackages_ghc763) ghc binary zlib utf8String readline fgl
regexCompat HsSyck random;
};