2013-09-18 17:48:19 +02:00
|
|
|
{ cabal, binary, blazeHtml, blazeMarkup, pandocCiteproc, cmdargs
|
2013-06-13 10:43:40 +02:00
|
|
|
, cryptohash, dataDefault, deepseq, filepath, fsnotify, httpConduit
|
2013-06-19 09:27:55 +02:00
|
|
|
, httpTypes, HUnit, lrucache, mtl, network, pandoc, parsec
|
|
|
|
, QuickCheck, random, regexBase, regexTdfa, snapCore, snapServer
|
2013-06-13 10:43:40 +02:00
|
|
|
, systemFilepath, tagsoup, testFramework, testFrameworkHunit
|
2013-09-18 17:48:19 +02:00
|
|
|
, testFrameworkQuickcheck2, text, time, fetchurl
|
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";
|
2013-08-11 18:37:14 +02:00
|
|
|
version = "4.3.3.0";
|
|
|
|
sha256 = "11zfz55a7dr5l7xzknphqninyrb2pw2qmrs7v7ajq2gvbl0lf37n";
|
2013-01-17 11:19:09 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2013-09-18 17:48:19 +02:00
|
|
|
patches = [ (fetchurl { url = "https://github.com/jaspervdj/hakyll/pull/183.patch";
|
|
|
|
sha256 = "0vjrxvgyc05nnshapjhk65pcamj9rigqff5q6wjbssx3ggqggrz9";
|
|
|
|
name = "hakyll-pandoc-fix.patch";
|
|
|
|
}) ];
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [
|
2013-09-18 17:48:19 +02:00
|
|
|
binary blazeHtml blazeMarkup pandocCiteproc cmdargs cryptohash
|
2013-06-13 10:43:40 +02:00
|
|
|
dataDefault deepseq filepath fsnotify httpConduit httpTypes
|
2013-06-19 09:27:55 +02:00
|
|
|
lrucache mtl network pandoc 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-09-18 17:48:19 +02:00
|
|
|
binary blazeHtml blazeMarkup pandocCiteproc cmdargs cryptohash
|
2013-06-13 10:43:40 +02:00
|
|
|
dataDefault deepseq filepath fsnotify httpConduit httpTypes HUnit
|
2013-06-19 09:27:55 +02:00
|
|
|
lrucache mtl network pandoc 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-03-08 13:36:58 +01:00
|
|
|
doCheck = false;
|
2013-09-18 17:48:19 +02:00
|
|
|
postPatch = ''
|
|
|
|
sed -i -e 's|cryptohash.*,|cryptohash,|' -e 's|tagsoup.*,|tagsoup,|' hakyll.cabal
|
2013-09-02 13:20:16 +02:00
|
|
|
'';
|
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
|
|
|
};
|
|
|
|
})
|