add haskell/idris

This commit is contained in:
Mathijs Kwik 2013-06-04 18:11:31 +02:00 committed by Peter Simons
parent 3e0a25508c
commit 187670c7da
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ cabal, binary, Cabal, filepath, gmp, happy, haskeline
, languageJava, libffi, mtl, parsec, split, text, transformers
}:
cabal.mkDerivation (self: {
pname = "idris";
version = "0.9.8";
sha256 = "1mxc6mic3d508ni9pqxw8q31f27shyaxs1rchfl2jg58i9w6iy7h";
isLibrary = false;
isExecutable = true;
buildDepends = [
binary Cabal filepath haskeline languageJava libffi mtl parsec
split text transformers
];
buildTools = [ happy ];
extraLibraries = [ gmp ];
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;
};
})

View File

@ -2242,6 +2242,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
darcs = callPackage ../applications/version-management/darcs {};
idris = callPackage ../development/compilers/idris {};
leksah = callPackage ../applications/editors/leksah {
QuickCheck = self.QuickCheck2;
};