2012-11-17 10:39:25 +00:00
|
|
|
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
2014-04-17 19:12:59 +00:00
|
|
|
, conduitExtra, dataDefault, filepath, hamlet, hjsmin, hledger
|
|
|
|
, hledgerLib, hspec, httpClient, httpConduit, HUnit, json
|
2014-05-01 10:19:52 +00:00
|
|
|
, networkConduit, parsec, regexpr, safe, shakespeare
|
|
|
|
, shakespeareText, text, time, transformers, wai, waiExtra
|
|
|
|
, waiHandlerLaunch, warp, yaml, yesod, yesodCore, yesodStatic
|
|
|
|
, yesodTest
|
2011-09-13 17:35:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-web";
|
2014-05-09 22:18:16 +00:00
|
|
|
version = "0.23.2";
|
|
|
|
sha256 = "1n4n2zj6nqwvwmb6cxr16x2fnmzs7v21snjhq2nnvlik613rnnq7";
|
2011-09-13 17:35:18 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-04-17 19:12:59 +00:00
|
|
|
blazeHtml blazeMarkup clientsession cmdargs conduitExtra
|
|
|
|
dataDefault filepath hamlet hjsmin hledger hledgerLib httpClient
|
|
|
|
httpConduit HUnit json networkConduit parsec regexpr safe
|
2014-05-01 10:19:52 +00:00
|
|
|
shakespeare shakespeareText text time transformers wai waiExtra
|
2014-04-17 19:12:59 +00:00
|
|
|
waiHandlerLaunch warp yaml yesod yesodCore yesodStatic
|
2011-09-13 17:35:18 +00:00
|
|
|
];
|
2013-06-02 16:07:03 +00:00
|
|
|
testDepends = [ hspec yesod yesodTest ];
|
2014-03-11 15:13:14 +00:00
|
|
|
jailbreak = true;
|
2013-02-25 01:01:23 +00:00
|
|
|
doCheck = false;
|
2011-09-13 17:35:18 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://hledger.org";
|
|
|
|
description = "A web interface for the hledger accounting tool";
|
|
|
|
license = "GPL";
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|