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
|
2013-12-14 10:30:18 +00:00
|
|
|
, httpClient, httpConduit, HUnit, json, networkConduit, parsec
|
|
|
|
, regexpr, safe, shakespeareText, text, time, transformers, wai
|
|
|
|
, waiExtra, waiHandlerLaunch, warp, yaml, yesod, yesodCore
|
|
|
|
, yesodStatic, yesodTest
|
2011-09-13 18:35:18 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-web";
|
2014-01-08 23:49:08 +00:00
|
|
|
version = "0.22.1";
|
|
|
|
sha256 = "0nqw7scnhcip2bg832p9v0rqk01gn4xwj9bqsvsvmh31fh9ldchw";
|
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-12-14 10:30:18 +00:00
|
|
|
hamlet hjsmin hledger hledgerLib httpClient httpConduit HUnit json
|
2013-06-02 17:07:03 +01:00
|
|
|
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;
|
2014-01-25 19:47:44 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|blaze-html.*0.7|blaze-html|' -e 's|blaze-markup.*0.7|blaze-markup|' hledger-web.cabal
|
|
|
|
'';
|
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;
|
|
|
|
};
|
|
|
|
})
|