nixpkgs/pkgs/development/compilers/agda/agda.nix

30 lines
957 B
Nix
Raw Normal View History

2014-02-27 15:05:29 +01:00
{ cabal, alex, binary, deepseq, emacs, filepath, geniplate, happy
2012-11-12 12:34:28 +01:00
, hashable, hashtables, haskeline, haskellSrcExts, mtl, parallel
2013-06-03 22:09:09 +02:00
, QuickCheck, text, time, unorderedContainers, xhtml, zlib
}:
cabal.mkDerivation (self: {
pname = "Agda";
version = "2.3.2.2";
sha256 = "0zr2rg2yvq6pqg69c6h7hqqpc5nj8prfhcvj5p2alkby0vs110qc";
isLibrary = true;
isExecutable = true;
buildDepends = [
2012-11-12 12:34:28 +01:00
binary deepseq filepath geniplate hashable hashtables haskeline
2013-06-03 22:09:09 +02:00
haskellSrcExts mtl parallel QuickCheck text time
unorderedContainers xhtml zlib
];
2014-02-27 15:05:29 +01:00
buildTools = [ alex emacs happy ];
jailbreak = true;
2014-02-27 15:05:29 +01:00
postInstall = ''
$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 = [ self.stdenv.lib.maintainers.andres ];
};
})