nixpkgs/pkgs/development/libraries/haskell/hakyll/default.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.5.1.0";
sha256 = "0p78wscz9gwg1as49wjl49ydzbv972w6wmbmvhw1rfb9d5xana1i";
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|network .*,|network,|' 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 ];
};
})