2013-10-16 17:16:32 +02:00
|
|
|
{ cabal, ansiTerminal, ansiWlPprint, binary, boehmgc, Cabal
|
2014-01-27 11:49:20 +01:00
|
|
|
, deepseq, filepath, gmp, happy, haskeline, languageJava, libffi
|
|
|
|
, llvmGeneral, llvmGeneralPure, mtl, network, parsers, split, text
|
|
|
|
, time, transformers, trifecta, unorderedContainers, utf8String
|
|
|
|
, vector, vectorBinaryInstances, xml
|
2013-06-04 18:11:31 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "idris";
|
2013-12-03 22:07:39 +01:00
|
|
|
version = "0.9.10.1";
|
|
|
|
sha256 = "194gbpk8fy64maj9lcwj9hkbndc3287bh9mz2jm09vd11i23iyg1";
|
2013-06-04 18:11:31 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-12-01 23:29:08 +01:00
|
|
|
ansiTerminal ansiWlPprint binary Cabal deepseq filepath haskeline
|
2014-01-27 11:49:20 +01:00
|
|
|
languageJava libffi llvmGeneral llvmGeneralPure mtl network parsers
|
|
|
|
split text time transformers trifecta unorderedContainers
|
|
|
|
utf8String vector vectorBinaryInstances xml
|
2013-06-04 18:11:31 +02:00
|
|
|
];
|
|
|
|
buildTools = [ happy ];
|
2014-01-27 11:49:20 +01:00
|
|
|
extraLibraries = [ boehmgc gmp ];
|
|
|
|
configureFlags = "-fllvm -fgmp -fffi";
|
2013-06-04 18:11:31 +02: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;
|
|
|
|
};
|
|
|
|
})
|