2013-09-11 19:01:57 +01:00
|
|
|
{ cabal, binary, boehmgc, Cabal, filepath, gmp, happy, haskeline
|
2013-06-08 22:28:50 +01:00
|
|
|
, languageJava, libffi, llvmGeneral, mtl, parsec, split, text
|
2013-09-11 19:01:57 +01:00
|
|
|
, transformers, vector, vectorBinaryInstances
|
2013-06-04 17:11:31 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "idris";
|
2013-06-08 22:28:50 +01:00
|
|
|
version = "0.9.9";
|
|
|
|
sha256 = "0wwssgpiyn7akyfrpi1khvqxx1k8753kk7151zvvymz0zkks643m";
|
2013-06-04 17:11:31 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-06-08 22:28:50 +01:00
|
|
|
binary Cabal filepath haskeline languageJava libffi llvmGeneral mtl
|
|
|
|
parsec split text transformers vector 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;
|
|
|
|
};
|
|
|
|
})
|