2014-07-31 12:10:27 +02:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2014-06-16 23:02:12 +02:00
|
|
|
{ cabal, alex, binary, boxes, 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";
|
2014-07-31 12:10:27 +02:00
|
|
|
version = "2.4.0.2";
|
|
|
|
sha256 = "13c4ipscnlnbv94k93yajrp32mwzikqa8rhc95h8pmqzhjgwyh8b";
|
2014-06-16 23:02:12 +02:00
|
|
|
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 emacs happy ];
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|