2012-11-17 10:39:25 +00:00
|
|
|
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
|
|
|
, dataDefault, filepath, hamlet, hjsmin, hledger, hledgerLib
|
2013-05-02 11:35:20 +01:00
|
|
|
, httpConduit, HUnit, monadControl, networkConduit, parsec, regexpr
|
|
|
|
, safe, shakespeareCss, shakespeareJs, shakespeareText, text, time
|
|
|
|
, transformers, wai, waiExtra, waiHandlerLaunch, warp, yaml, yesod
|
|
|
|
, yesodCore, yesodDefault, yesodForm, yesodStatic, yesodTest
|
2011-09-13 18:35:18 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-web";
|
2013-05-05 18:15:23 +01:00
|
|
|
version = "0.20.0.1";
|
|
|
|
sha256 = "0fq3wfsy2ykyplr66ac91yd2vwzfw3ji8mq9q4jn58nnh6bgxfa1";
|
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-05-02 11:35:20 +01:00
|
|
|
hamlet hjsmin hledger hledgerLib httpConduit HUnit monadControl
|
|
|
|
networkConduit parsec regexpr safe shakespeareCss shakespeareJs
|
|
|
|
shakespeareText text time transformers wai waiExtra
|
|
|
|
waiHandlerLaunch warp yaml yesod yesodCore yesodDefault yesodForm
|
|
|
|
yesodStatic
|
2011-09-13 18:35:18 +01:00
|
|
|
];
|
2013-02-25 00:44:44 +00:00
|
|
|
testDepends = [ yesodCore yesodDefault 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;
|
|
|
|
};
|
|
|
|
})
|