nixpkgs-suyu/pkgs/development/libraries/haskell/Agda/default.nix
Peter Simons 6054beaee7 haskell-Agda: patched to support modern versions of mtl
Committed on behalf of Karn Kallio.

svn path=/nixpkgs/trunk/; revision=34454
2012-06-11 10:40:10 +00:00

26 lines
824 B
Nix

{ 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 ];
};
})