nixpkgs-suyu/pkgs/development/compilers/jhc/default.nix

28 lines
757 B
Nix
Raw Normal View History

2015-04-23 15:20:34 +02:00
{ stdenv, fetchurl, perl, ghcWithPackages }:
let ghc = ghcWithPackages (hpkgs: with hpkgs; [
binary zlib utf8-string readline fgl regex-compat HsSyck random
]);
in
2012-10-07 17:52:43 +02:00
stdenv.mkDerivation rec {
name = "jhc-${version}";
version = "0.8.2";
2012-10-07 17:52:43 +02:00
src = fetchurl {
url = "http://repetae.net/dist/${name}.tar.gz";
sha256 = "0lrgg698mx6xlrqcylba9z4g1f053chrzc92ri881dmb1knf83bz";
2012-10-07 17:52:43 +02:00
};
2015-04-23 15:20:34 +02:00
buildInputs = [ perl ghc ];
2012-10-07 17:52:43 +02:00
meta = {
description = "Whole-program, globally optimizing Haskell compiler";
2013-03-11 10:47:04 +01:00
homepage = "http://repetae.net/computer/jhc/";
license = stdenv.lib.licenses.bsd3;
2013-03-11 10:47:04 +01:00
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers;
[ aforemny simons thoughtpolice ];
2012-10-07 17:52:43 +02:00
};
}