2013-01-17 11:19:09 +01:00
|
|
|
{ cabal, binary, blazeHtml, blazeMarkup, citeprocHs, cmdargs
|
2013-03-25 11:40:29 +01:00
|
|
|
, cryptohash, dataDefault, deepseq, filepath, httpConduit
|
|
|
|
, httpTypes, HUnit, lrucache, mtl, pandoc, parsec, QuickCheck
|
|
|
|
, random, regexBase, regexTdfa, snapCore, snapServer, tagsoup
|
|
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, text
|
|
|
|
, time
|
2011-08-10 01:00:20 +02:00
|
|
|
}:
|
2010-09-13 12:30:54 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2010-09-13 12:30:54 +02:00
|
|
|
pname = "hakyll";
|
2013-03-25 11:40:29 +01:00
|
|
|
version = "4.2.2.0";
|
|
|
|
sha256 = "0kz8v2ip0hmvqnrxgv44g2863z1dql88razl7aa3fw01q56ihz0y";
|
2013-01-17 11:19:09 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2013-03-25 11:40:29 +01:00
|
|
|
binary blazeHtml blazeMarkup citeprocHs cmdargs cryptohash
|
|
|
|
dataDefault deepseq filepath httpConduit httpTypes lrucache mtl
|
|
|
|
pandoc parsec random regexBase regexTdfa snapCore snapServer
|
|
|
|
tagsoup text time
|
2011-08-07 20:23:15 +02:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2013-03-25 11:40:29 +01:00
|
|
|
binary blazeHtml blazeMarkup citeprocHs cmdargs cryptohash
|
|
|
|
dataDefault deepseq filepath httpConduit httpTypes HUnit lrucache
|
|
|
|
mtl pandoc parsec QuickCheck random regexBase regexTdfa snapCore
|
|
|
|
snapServer tagsoup testFramework testFrameworkHunit
|
|
|
|
testFrameworkQuickcheck2 text time
|
2013-02-24 22:09:07 +01:00
|
|
|
];
|
2013-03-08 13:36:58 +01:00
|
|
|
doCheck = false;
|
2013-04-06 10:32:41 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|cryptohash .*,|cryptohash,|' hakyll.cabal
|
|
|
|
'';
|
2010-09-13 12:30:54 +02:00
|
|
|
meta = {
|
2011-08-07 20:23:15 +02:00
|
|
|
homepage = "http://jaspervdj.be/hakyll";
|
|
|
|
description = "A static website compiler library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-03-23 14:57:25 +01:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2010-09-13 12:30:54 +02:00
|
|
|
};
|
|
|
|
})
|