2014-02-10 10:05:42 +00:00
|
|
|
{ cabal, annotatedWlPprint, ansiTerminal, ansiWlPprint, binary
|
|
|
|
, boehmgc, Cabal, deepseq, filepath, gmp, happy, haskeline
|
|
|
|
, languageJava, libffi, llvmGeneral, llvmGeneralPure, mtl, network
|
|
|
|
, parsers, split, text, time, transformers, trifecta
|
|
|
|
, unorderedContainers, utf8String, vector, vectorBinaryInstances
|
|
|
|
, xml, zlib
|
2013-06-04 17:11:31 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "idris";
|
2014-02-13 09:57:43 +00:00
|
|
|
version = "0.9.11.2";
|
|
|
|
sha256 = "16xgiygn0j3kl3l36lnv6wz422nz2bvn3lk86xkdfvwjpv4630yn";
|
2014-02-10 10:05:42 +00:00
|
|
|
isLibrary = true;
|
2013-06-04 17:11:31 +01:00
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-02-10 10:05:42 +00:00
|
|
|
annotatedWlPprint ansiTerminal ansiWlPprint binary Cabal deepseq
|
|
|
|
filepath haskeline languageJava libffi llvmGeneral llvmGeneralPure
|
|
|
|
mtl network parsers split text time transformers trifecta
|
|
|
|
unorderedContainers utf8String vector vectorBinaryInstances xml
|
|
|
|
zlib
|
2013-06-04 17:11:31 +01:00
|
|
|
];
|
|
|
|
buildTools = [ happy ];
|
2014-01-27 10:49:20 +00:00
|
|
|
extraLibraries = [ boehmgc gmp ];
|
|
|
|
configureFlags = "-fllvm -fgmp -fffi";
|
2013-06-04 17:11:31 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.idris-lang.org/";
|
|
|
|
description = "Functional Programming Language with Dependent Types";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|