2014-07-31 12:10:27 +02:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2014-08-31 13:22:23 +02:00
|
|
|
{ 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
|
2014-06-16 23:02:12 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "Agda";
|
2014-11-14 12:02:34 +01:00
|
|
|
version = "2.4.2.1";
|
|
|
|
sha256 = "094x1rdhqxm630f0kgllhivgr1vdy4xrd9pgh737b1gbb2vf3awm";
|
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
|
|
|
|
];
|
2014-08-31 13:22:23 +02:00
|
|
|
buildTools = [ alex cpphs emacs happy ];
|
|
|
|
noHaddock = true;
|
2014-11-14 12:02:34 +01:00
|
|
|
jailbreak = true;
|
2014-06-16 23:02:12 +02:00
|
|
|
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";
|
2014-11-14 12:02:34 +01:00
|
|
|
license = "unknown";
|
2014-06-16 23:02:12 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2014-10-15 02:02:03 +02:00
|
|
|
maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ];
|
2014-06-16 23:02:12 +02:00
|
|
|
};
|
|
|
|
})
|