2013-10-10 11:50:47 +02:00
|
|
|
{ cabal, binary, blazeHtml, blazeMarkup, cmdargs, cryptohash
|
|
|
|
, dataDefault, deepseq, filepath, fsnotify, httpConduit, httpTypes
|
|
|
|
, HUnit, lrucache, mtl, network, pandoc, pandocCiteproc, parsec
|
2013-06-19 09:27:55 +02:00
|
|
|
, QuickCheck, random, regexBase, regexTdfa, snapCore, snapServer
|
2013-06-13 10:43:40 +02:00
|
|
|
, systemFilepath, tagsoup, testFramework, testFrameworkHunit
|
2013-10-10 11:50:47 +02:00
|
|
|
, 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";
|
2014-01-25 16:52:42 +01:00
|
|
|
version = "4.4.3.2";
|
|
|
|
sha256 = "1n597q4pbdka7g06524j0zvjcjpv7fgf6mga1a0kfr012sf9cqz9";
|
2013-01-17 11:19:09 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2013-10-10 11:50:47 +02: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 20:23:15 +02:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2013-10-10 11:50:47 +02: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 10:43:40 +02:00
|
|
|
testFrameworkHunit testFrameworkQuickcheck2 text time
|
2013-02-24 22:09:07 +01:00
|
|
|
];
|
2013-10-10 11:50:47 +02:00
|
|
|
doCheck = false;
|
2014-01-25 21:38:43 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|blaze-markup.*,|blaze-markup,|' -e 's|blaze-html.*,|blaze-html,|' \
|
|
|
|
-e 's|pandoc-citeproc.*,|pandoc-citeproc,|' 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-06-19 09:27:55 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-09-13 12:30:54 +02:00
|
|
|
};
|
|
|
|
})
|