2013-09-21 10:20:15 +02:00
|
|
|
{ cabal, ansiTerminal, binary, boehmgc, Cabal, filepath, gmp, happy
|
2013-09-25 11:14:56 +02:00
|
|
|
, haskeline, languageJava, libffi, llvmGeneral, llvmGeneralPure
|
|
|
|
, mtl, parsec, parsers, split, text, time, transformers, trifecta
|
|
|
|
, unorderedContainers, utf8String, vector, vectorBinaryInstances
|
2013-06-04 18:11:31 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "idris";
|
2013-09-25 11:14:56 +02:00
|
|
|
version = "0.9.9.2";
|
|
|
|
sha256 = "0xfwnlf3jca64i4piyx9scmk4z8f6rak2cvrcjwji505a9vaa0rw";
|
2013-06-04 18:11:31 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-09-21 10:20:15 +02:00
|
|
|
ansiTerminal binary Cabal filepath haskeline languageJava libffi
|
2013-09-25 11:14:56 +02:00
|
|
|
llvmGeneral llvmGeneralPure mtl parsec parsers split text time
|
|
|
|
transformers trifecta unorderedContainers utf8String vector
|
2013-09-21 10:20:15 +02:00
|
|
|
vectorBinaryInstances
|
2013-06-04 18:11:31 +02:00
|
|
|
];
|
|
|
|
buildTools = [ happy ];
|
2013-09-11 20:01:57 +02:00
|
|
|
extraLibraries = [ boehmgc gmp ];
|
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;
|
|
|
|
};
|
|
|
|
})
|