mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
31 lines
760 B
Nix
31 lines
760 B
Nix
{
|
|
stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
|
|
regexCompat, HsSyck, random
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jhc-${version}";
|
|
|
|
version = "0.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://repetae.net/dist/${name}.tar.gz";
|
|
sha256 = "0rbv0gpp7glhd9xqy7snbiaiizwnsfg9vzhvyywcvbmb35yivy2a";
|
|
};
|
|
|
|
buildInputs = [
|
|
perl ghc binary zlib utf8String readline fgl regexCompat HsSyck random
|
|
];
|
|
|
|
meta = {
|
|
homepage = "http://repetae.net/computer/jhc/";
|
|
description = "A Haskell compiler which aims to produce the most efficient programs";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.aforemny stdenv.lib.maintainers.simons ];
|
|
};
|
|
|
|
}
|