42 lines
1.6 KiB
Nix
42 lines
1.6 KiB
Nix
{ cabal, 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, testFrameworkHunit
|
|
, testFrameworkQuickcheck2, text, time
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hakyll";
|
|
version = "4.4.3.2";
|
|
sha256 = "1n597q4pbdka7g06524j0zvjcjpv7fgf6mga1a0kfr012sf9cqz9";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
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
|
|
];
|
|
testDepends = [
|
|
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
|
|
testFrameworkHunit testFrameworkQuickcheck2 text time
|
|
];
|
|
doCheck = false;
|
|
patchPhase = ''
|
|
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
|
|
'';
|
|
meta = {
|
|
homepage = "http://jaspervdj.be/hakyll";
|
|
description = "A static website compiler library";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|