2012-04-16 05:07:58 -07:00
|
|
|
{ cabal, base64Bytestring, blazeHtml, cgi, ConfigFile, feed
|
|
|
|
, filepath, filestore, ghcPaths, happstackServer, highlightingKate
|
2012-02-29 11:24:49 -08:00
|
|
|
, hslogger, HStringTemplate, HTTP, json, mtl, network, pandoc
|
|
|
|
, pandocTypes, parsec, random, recaptcha, safe, SHA, syb, tagsoup
|
2013-09-28 04:43:51 -07:00
|
|
|
, text, time, url, utf8String, xhtml, xml, xssSanitize, zlib, fetchurl
|
2011-08-09 16:00:20 -07:00
|
|
|
}:
|
2009-07-18 08:25:28 -07:00
|
|
|
|
2011-08-09 16:00:20 -07:00
|
|
|
cabal.mkDerivation (self: {
|
2009-07-18 08:25:28 -07:00
|
|
|
pname = "gitit";
|
2013-03-21 03:15:42 -07:00
|
|
|
version = "0.10.3.1";
|
|
|
|
sha256 = "1sm6rryfyqr0nd4flbc5d520xyw2ajnkylvqf4fi4dhl6fnbpam5";
|
2011-08-09 16:00:20 -07:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-04-16 05:07:58 -07: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 14:10:06 -07:00
|
|
|
];
|
2013-07-16 06:28:58 -07:00
|
|
|
jailbreak = true;
|
2013-09-28 04:43:51 -07:00
|
|
|
patches = [ (fetchurl { url = "https://github.com/jgm/gitit/commit/48155008397bdaed4f97c5678d83c70d4bc3f0ff.patch";
|
|
|
|
sha256 = "0xdg9frr8lany8ry6vj4vpskmhkpww8jswnb05pzl8a4xfqxh9gd";
|
|
|
|
})
|
|
|
|
];
|
2009-07-18 08:25:28 -07:00
|
|
|
meta = {
|
2011-09-04 06:44:22 -07:00
|
|
|
homepage = "http://gitit.net";
|
2011-08-11 06:03:51 -07:00
|
|
|
description = "Wiki using happstack, git or darcs, and pandoc";
|
2010-04-15 14:10:06 -07:00
|
|
|
license = "GPL";
|
2011-08-09 02:54:50 -07:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 15:36:36 -07:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2009-07-18 08:25:28 -07:00
|
|
|
};
|
2011-03-28 08:04:00 -07:00
|
|
|
})
|