2012-11-17 11:39:25 +01:00
|
|
|
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
2013-06-02 18:07:03 +02:00
|
|
|
, dataDefault, filepath, hamlet, hjsmin, hledger, hledgerLib, hspec
|
2013-12-14 11:30:18 +01: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 19:35:18 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-web";
|
2014-01-09 00:49:08 +01:00
|
|
|
version = "0.22.1";
|
|
|
|
sha256 = "0nqw7scnhcip2bg832p9v0rqk01gn4xwj9bqsvsvmh31fh9ldchw";
|
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-12-14 11:30:18 +01:00
|
|
|
hamlet hjsmin hledger hledgerLib httpClient httpConduit HUnit json
|
2013-06-02 18:07:03 +02:00
|
|
|
networkConduit parsec regexpr safe shakespeareText text time
|
|
|
|
transformers wai waiExtra waiHandlerLaunch warp yaml yesod
|
2013-07-11 01:31:48 +02:00
|
|
|
yesodCore yesodStatic
|
2011-09-13 19:35:18 +02:00
|
|
|
];
|
2013-06-02 18:07:03 +02:00
|
|
|
testDepends = [ hspec yesod yesodTest ];
|
2013-02-25 02:01:23 +01:00
|
|
|
doCheck = false;
|
2014-01-25 20:47:44 +01: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 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;
|
|
|
|
};
|
|
|
|
})
|