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