2012-11-17 11:39:25 +01:00
|
|
|
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
|
|
|
, dataDefault, filepath, hamlet, hjsmin, hledger, hledgerLib
|
|
|
|
, httpConduit, HUnit, ioStorage, monadControl, networkConduit
|
|
|
|
, parsec, regexpr, safe, shakespeareCss, shakespeareJs
|
|
|
|
, shakespeareText, text, time, transformers, wai, waiExtra, warp
|
|
|
|
, yaml, yesod, yesodCore, yesodDefault, yesodForm, yesodStatic
|
2013-02-25 01:44:44 +01:00
|
|
|
, yesodTest
|
2011-09-13 19:35:18 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-web";
|
2012-11-26 15:16:17 +01:00
|
|
|
version = "0.19.3";
|
|
|
|
sha256 = "1kx5mn6drm90clz132vrd2lkssm73hlwvxb9cxg6z82i5qa9jqn9";
|
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
|
|
|
|
hamlet hjsmin hledger hledgerLib httpConduit HUnit ioStorage
|
|
|
|
monadControl networkConduit parsec regexpr safe shakespeareCss
|
|
|
|
shakespeareJs shakespeareText text time transformers wai waiExtra
|
|
|
|
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-18 11:11:14 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -r -i -e 's|blaze-html * >= 0.5 *&& < 0.6|blaze-html >= 0.5|' hledger-web.cabal
|
|
|
|
'';
|
2012-12-06 11:52:50 +01:00
|
|
|
jailbreak = true;
|
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;
|
|
|
|
};
|
|
|
|
})
|