2012-11-17 11:39:25 +01:00
|
|
|
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
|
|
|
, dataDefault, filepath, hamlet, hjsmin, hledger, hledgerLib
|
2013-05-02 12:35:20 +02: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 19:35:18 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-web";
|
2013-05-05 19:15:23 +02:00
|
|
|
version = "0.20.0.1";
|
|
|
|
sha256 = "0fq3wfsy2ykyplr66ac91yd2vwzfw3ji8mq9q4jn58nnh6bgxfa1";
|
2011-09-13 19:35:18 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2012-11-17 11:39:25 +01:00
|
|
|
blazeHtml blazeMarkup clientsession cmdargs dataDefault filepath
|
2013-05-02 12:35:20 +02: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 19:35:18 +02:00
|
|
|
];
|
2013-02-25 01:44:44 +01:00
|
|
|
testDepends = [ yesodCore yesodDefault yesodTest ];
|
2013-02-25 02:01:23 +01:00
|
|
|
doCheck = false;
|
2011-09-13 19:35:18 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://hledger.org";
|
|
|
|
description = "A web interface for the hledger accounting tool";
|
|
|
|
license = "GPL";
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|