2013-08-03 11:10:39 +01:00
|
|
|
{ cabal, binary, Cabal, filepath, gmp, happy, haskeline
|
|
|
|
, languageJava, libffi, mtl, parsec, split, text, transformers
|
2013-06-04 17:11:31 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "idris";
|
2013-08-03 11:10:39 +01:00
|
|
|
version = "0.9.8";
|
|
|
|
sha256 = "1mxc6mic3d508ni9pqxw8q31f27shyaxs1rchfl2jg58i9w6iy7h";
|
2013-06-04 17:11:31 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-08-03 11:10:39 +01:00
|
|
|
binary Cabal filepath haskeline languageJava libffi mtl parsec
|
|
|
|
split text transformers
|
2013-06-04 17:11:31 +01:00
|
|
|
];
|
|
|
|
buildTools = [ happy ];
|
2013-08-03 11:10:39 +01:00
|
|
|
extraLibraries = [ 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;
|
|
|
|
};
|
|
|
|
})
|