nixpkgs/pkgs/development/compilers/idris/default.nix

28 lines
984 B
Nix
Raw Normal View History

{ cabal, ansiTerminal, binary, boehmgc, Cabal, filepath, gmp, happy
, 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";
version = "0.9.9.2";
sha256 = "0xfwnlf3jca64i4piyx9scmk4z8f6rak2cvrcjwji505a9vaa0rw";
2013-06-04 18:11:31 +02:00
isLibrary = false;
isExecutable = true;
buildDepends = [
ansiTerminal binary Cabal filepath 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
];
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;
};
})