summary refs log tree commit diff
path: root/pkgs/development/interpreters/rakudo/default.nix
blob: cd1631e23a16e505d65772c810460b162751d2a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, perl, jdk, icu, zlib, gmp, readline }:

stdenv.mkDerivation rec {
  name = "rakudo-star-${version}";
  version = "2015.11";

  src = fetchurl {
    url    = "http://rakudo.org/downloads/star/${name}.tar.gz";
    sha256 = "1rzabg8daxf2g4l1njhdv3gfav91mp3y9my0mpz2xw06cxqfsjki";
  };

  buildInputs = [ icu zlib gmp readline jdk perl ];
  configureScript = "perl ./Configure.pl";
  configureFlags =
    [ "--backends=moar,jvm"
      "--gen-moar"
      "--gen-nqp"
    ];

  meta = {
    description = "A Perl 6 implementation";
    homepage    = "http://www.rakudo.org";
    license     = stdenv.lib.licenses.artistic2;
    platforms   = stdenv.lib.platforms.unix;
    maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
  };
}