2014-05-18 17:14:03 +02:00
|
|
|
{ stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
|
|
|
|
regexCompat, HsSyck, random }:
|
2012-10-07 17:52:43 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jhc-${version}";
|
2014-08-20 08:43:31 +02:00
|
|
|
version = "0.8.2";
|
2012-10-07 17:52:43 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-20 08:43:31 +02:00
|
|
|
url = "http://repetae.net/dist/${name}.tar.gz";
|
|
|
|
sha256 = "0lrgg698mx6xlrqcylba9z4g1f053chrzc92ri881dmb1knf83bz";
|
2012-10-07 17:52:43 +02:00
|
|
|
};
|
|
|
|
|
2014-05-18 17:14:03 +02:00
|
|
|
buildInputs =
|
|
|
|
[ perl ghc binary zlib utf8String
|
|
|
|
readline fgl regexCompat HsSyck random
|
|
|
|
];
|
2012-10-07 17:52:43 +02:00
|
|
|
|
|
|
|
meta = {
|
2014-05-18 17:14:03 +02:00
|
|
|
description = "Whole-program, globally optimizing Haskell compiler";
|
2013-03-11 10:47:04 +01:00
|
|
|
homepage = "http://repetae.net/computer/jhc/";
|
2014-05-18 17:15:06 +02:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2013-03-11 10:47:04 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-05-18 17:14:03 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers;
|
|
|
|
[ aforemny simons thoughtpolice ];
|
2012-10-07 17:52:43 +02:00
|
|
|
};
|
|
|
|
}
|