nixpkgs/pkgs/development/libraries/haskell/gitit/default.nix
Peter Simons 468c5dbc5c The 'random' library is no longer a core library in GHC 7.2.1. For older
versions of the compiler, haskell-packages.nix provides a null attribute.

svn path=/nixpkgs/trunk/; revision=28500
2011-08-12 00:18:56 +00:00

31 lines
1 KiB
Nix

{ cabal, ConfigFile, HStringTemplate, HTTP, SHA, cgi, feed
, filestore, ghcPaths, happstackServer, happstackUtil
, highlightingKate, hslogger, json, mtl, network, pandoc
, pandocTypes, parsec, random, recaptcha, safe, syb, time, url
, utf8String, xhtml, xml, xssSanitize, zlib
}:
cabal.mkDerivation (self: {
pname = "gitit";
version = "0.8.0.1";
sha256 = "0y2gcxlbb44vflj0jl3zkbsn47n7nccikxwdw6ccf9kxgcmrz0zy";
isLibrary = true;
isExecutable = true;
buildDepends = [
ConfigFile HStringTemplate HTTP SHA cgi feed filestore ghcPaths
happstackServer happstackUtil highlightingKate hslogger json mtl
network pandoc pandocTypes parsec random recaptcha safe syb time
url utf8String xhtml xml xssSanitize zlib
];
meta = {
homepage = "http://github.com/jgm/gitit/tree/master";
description = "Wiki using happstack, git or darcs, and pandoc";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})