mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
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:
parent
76beda705e
commit
1651871250
@ -1,30 +1,31 @@
|
|||||||
{
|
{ stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
|
||||||
stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
|
regexCompat, HsSyck, random }:
|
||||||
regexCompat, HsSyck, random
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "jhc-${version}";
|
name = "jhc-${version}";
|
||||||
|
version = "0.8.1";
|
||||||
version = "0.8.0";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://repetae.net/dist/${name}.tar.gz";
|
url = "http://repetae.net/dist/${name}.tar.gz";
|
||||||
sha256 = "0rbv0gpp7glhd9xqy7snbiaiizwnsfg9vzhvyywcvbmb35yivy2a";
|
sha256 = "11fya5ggk6q4vcm3kwjacfaaqvkammih25saqwlr1g40bcikbnf2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
patchPhase = ''
|
||||||
perl ghc binary zlib utf8String readline fgl regexCompat HsSyck random
|
substituteInPlace ./src/Util/Interact.hs \
|
||||||
];
|
--replace USE_NOLINE USE_READLINE
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ perl ghc binary zlib utf8String
|
||||||
|
readline fgl regexCompat HsSyck random
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
description = "Whole-program, globally optimizing Haskell compiler";
|
||||||
homepage = "http://repetae.net/computer/jhc/";
|
homepage = "http://repetae.net/computer/jhc/";
|
||||||
description = "A Haskell compiler which aims to produce the most efficient programs";
|
license = stdenv.lib.licenses.bsd;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.aforemny stdenv.lib.maintainers.simons ];
|
maintainers = with stdenv.lib.maintainers;
|
||||||
|
[ aforemny simons thoughtpolice ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2852,7 +2852,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
jhc = callPackage ../development/compilers/jhc {
|
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;
|
regexCompat HsSyck random;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user