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