summary refs log tree commit diff
path: root/pkgs/development/compilers/idris/default.nix
blob: 225f8afcd82daca6b8b711043d37c087161cba1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
  };
})