2013-10-10 10:50:47 +01:00
|
|
|
{ cabal, binary, blazeHtml, blazeMarkup, cmdargs, cryptohash
|
|
|
|
, dataDefault, deepseq, filepath, fsnotify, httpConduit, httpTypes
|
|
|
|
, HUnit, lrucache, mtl, network, pandoc, pandocCiteproc, parsec
|
2013-06-19 08:27:55 +01:00
|
|
|
, QuickCheck, random, regexBase, regexTdfa, snapCore, snapServer
|
2013-06-13 09:43:40 +01:00
|
|
|
, systemFilepath, tagsoup, testFramework, testFrameworkHunit
|
2013-10-10 10:50:47 +01:00
|
|
|
, testFrameworkQuickcheck2, text, time
|
2011-08-10 00:00:20 +01:00
|
|
|
}:
|
2010-09-13 11:30:54 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2010-09-13 11:30:54 +01:00
|
|
|
pname = "hakyll";
|
2014-01-25 15:52:42 +00:00
|
|
|
version = "4.4.3.2";
|
|
|
|
sha256 = "1n597q4pbdka7g06524j0zvjcjpv7fgf6mga1a0kfr012sf9cqz9";
|
2013-01-17 10:19:09 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2011-08-10 00:00:20 +01:00
|
|
|
buildDepends = [
|
2013-10-10 10:50:47 +01:00
|
|
|
binary blazeHtml blazeMarkup cmdargs cryptohash dataDefault deepseq
|
|
|
|
filepath fsnotify httpConduit httpTypes lrucache mtl network pandoc
|
|
|
|
pandocCiteproc parsec random regexBase regexTdfa snapCore
|
|
|
|
snapServer systemFilepath tagsoup text time
|
2011-08-07 19:23:15 +01:00
|
|
|
];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
2013-10-10 10:50:47 +01:00
|
|
|
binary blazeHtml blazeMarkup cmdargs cryptohash dataDefault deepseq
|
|
|
|
filepath fsnotify httpConduit httpTypes HUnit lrucache mtl network
|
|
|
|
pandoc pandocCiteproc parsec QuickCheck random regexBase regexTdfa
|
|
|
|
snapCore snapServer systemFilepath tagsoup testFramework
|
2013-06-13 09:43:40 +01:00
|
|
|
testFrameworkHunit testFrameworkQuickcheck2 text time
|
2013-02-24 21:09:07 +00:00
|
|
|
];
|
2013-10-10 10:50:47 +01:00
|
|
|
doCheck = false;
|
2014-01-25 20:38:43 +00:00
|
|
|
patchPhase = ''
|
2014-02-02 22:16:29 +00:00
|
|
|
sed -i -e 's|blaze-markup.*,|blaze-markup,|' \
|
|
|
|
-e 's|blaze-html.*,|blaze-html,|' \
|
|
|
|
-e 's|pandoc-citeproc.*,|pandoc-citeproc,|' \
|
|
|
|
-e 's|regex-tdfa.*,|regex-tdfa,|' hakyll.cabal
|
2014-01-25 20:38:43 +00:00
|
|
|
'';
|
2010-09-13 11:30:54 +01:00
|
|
|
meta = {
|
2011-08-07 19:23:15 +01:00
|
|
|
homepage = "http://jaspervdj.be/hakyll";
|
|
|
|
description = "A static website compiler library";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-06-19 08:27:55 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-09-13 11:30:54 +01:00
|
|
|
};
|
|
|
|
})
|