2012-04-16 14:07:58 +02:00
|
|
|
{ cabal, base64Bytestring, blazeHtml, cgi, ConfigFile, feed
|
|
|
|
, filepath, filestore, ghcPaths, happstackServer, highlightingKate
|
2012-02-29 20:24:49 +01:00
|
|
|
, hslogger, HStringTemplate, HTTP, json, mtl, network, pandoc
|
|
|
|
, pandocTypes, parsec, random, recaptcha, safe, SHA, syb, tagsoup
|
|
|
|
, text, time, url, utf8String, xhtml, xml, xssSanitize, zlib
|
2011-08-10 01:00:20 +02:00
|
|
|
}:
|
2009-07-18 17:25:28 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2009-07-18 17:25:28 +02:00
|
|
|
pname = "gitit";
|
2012-06-08 15:38:20 +02:00
|
|
|
version = "0.10.0.1";
|
|
|
|
sha256 = "0dx4jq7j0s6h5lfl8qrr4qnyb3j0cnnc1c786yf8kcmhk04n028f";
|
2011-08-10 01:00:20 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-04-16 14:07:58 +02:00
|
|
|
base64Bytestring blazeHtml cgi ConfigFile feed filepath filestore
|
|
|
|
ghcPaths happstackServer highlightingKate hslogger HStringTemplate
|
|
|
|
HTTP json mtl network pandoc pandocTypes parsec random recaptcha
|
|
|
|
safe SHA syb tagsoup text time url utf8String xhtml xml xssSanitize
|
|
|
|
zlib
|
2010-04-15 23:10:06 +02:00
|
|
|
];
|
2012-07-16 11:20:59 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|hslogger.*,|hslogger,|' gitit.cabal
|
|
|
|
'';
|
2009-07-18 17:25:28 +02:00
|
|
|
meta = {
|
2011-09-04 15:44:22 +02:00
|
|
|
homepage = "http://gitit.net";
|
2011-08-11 15:03:51 +02:00
|
|
|
description = "Wiki using happstack, git or darcs, and pandoc";
|
2010-04-15 23:10:06 +02:00
|
|
|
license = "GPL";
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 11:21:28 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2009-07-18 17:25:28 +02:00
|
|
|
};
|
2011-03-28 17:04:00 +02:00
|
|
|
})
|