summary refs log tree commit diff
path: root/pkgs/development/compilers/agda/default.nix
blob: 573f7c6b8904ce3337bc691643606fae4e40091a (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
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file was auto-generated by cabal2nix. Please do NOT edit manually!

{ cabal, alex, binary, boxes, cpphs, dataHash, deepseq, emacs
, equivalence, filepath, geniplate, happy, hashable, hashtables
, haskeline, haskellSrcExts, mtl, parallel, QuickCheck
, STMonadTrans, strict, text, time, transformers
, unorderedContainers, xhtml, zlib
}:

cabal.mkDerivation (self: {
  pname = "Agda";
  version = "2.4.2.2";
  sha256 = "1hxvapnvlkx6imifswc70ng869zll0zfsygivhc2mjyhaiv10i13";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [
    binary boxes dataHash deepseq equivalence filepath geniplate
    hashable hashtables haskeline haskellSrcExts mtl parallel
    QuickCheck STMonadTrans strict text time transformers
    unorderedContainers xhtml zlib
  ];
  buildTools = [ alex cpphs emacs happy ];
  noHaddock = true;
  jailbreak = true;
  postInstall = ''
    $out/bin/agda -c --no-main $(find $out/share -name Primitive.agda)
    $out/bin/agda-mode compile
  '';
  meta = {
    homepage = "http://wiki.portal.chalmers.se/agda/";
    description = "A dependently typed functional programming language and proof assistant";
    license = "unknown";
    platforms = self.ghc.meta.platforms;
    maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
  };
})