mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
40 lines
1.5 KiB
Nix
40 lines
1.5 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.1.2";
|
|
sha256 = "0rbl0gl5ds63mv8cbcwb8aj0vic9padqs3zrdxr2ny70md1v9m9y";
|
|
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
|
|
];
|
|
patchPhase = ''
|
|
sed -i -e 's|pandoc-citeproc.*,|pandoc-citeproc,|' hakyll.cabal
|
|
'';
|
|
doCheck = false;
|
|
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 ];
|
|
};
|
|
})
|