31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
|
, dataDefault, filepath, hamlet, hjsmin, hledger, hledgerLib, hspec
|
|
, httpConduit, HUnit, json, networkConduit, parsec, regexpr, safe
|
|
, shakespeareText, text, time, transformers, wai, waiExtra
|
|
, waiHandlerLaunch, warp, yaml, yesod, yesodCore, yesodPlatform
|
|
, yesodStatic, yesodTest
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hledger-web";
|
|
version = "0.21";
|
|
sha256 = "19simd7vk9656zk1212ca9i52470np4j2lwjg4yi89rjq2ay2l05";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
blazeHtml blazeMarkup clientsession cmdargs dataDefault filepath
|
|
hamlet hjsmin hledger hledgerLib httpConduit HUnit json
|
|
networkConduit parsec regexpr safe shakespeareText text time
|
|
transformers wai waiExtra waiHandlerLaunch warp yaml yesod
|
|
yesodCore yesodPlatform yesodStatic
|
|
];
|
|
testDepends = [ hspec yesod yesodTest ];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "http://hledger.org";
|
|
description = "A web interface for the hledger accounting tool";
|
|
license = "GPL";
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|