summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/Agda/default.nix
blob: c72177e2108fc0c7949a43259d58667b93d8fce7 (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
{ cabal, alex, binary, filepath, happy, hashable, hashtables
, haskeline, haskellSrcExts, mtl, QuickCheck, syb, xhtml, zlib
}:

cabal.mkDerivation (self: {
  pname = "Agda";
  version = "2.3.0.1";
  sha256 = "0f2kc3by2z01g8bqc446hyzx9sidx6qi0p7h5bcpjf8iryk1dh2w";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [
    binary filepath hashable hashtables haskeline haskellSrcExts mtl
    QuickCheck syb xhtml zlib
  ];
  buildTools = [ alex happy ];
  patchPhase = ''
    sed -i -e 's|mtl == 2.0.\*|mtl|' Agda.cabal
  '';
  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 = [ self.stdenv.lib.maintainers.andres ];
  };
})