2012-11-17 10:39:25 +00:00
|
|
|
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
2014-04-17 20:12:59 +01:00
|
|
|
, conduitExtra, dataDefault, filepath, hamlet, hjsmin, hledger
|
|
|
|
, hledgerLib, hspec, httpClient, httpConduit, HUnit, json
|
2014-05-01 11:19:52 +01:00
|
|
|
, networkConduit, parsec, regexpr, safe, shakespeare
|
|
|
|
, 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-05-01 11:19:52 +01:00
|
|
|
version = "0.22.8";
|
|
|
|
sha256 = "0588r4hgy7800jla5jma96a7pmm64b116w6ffid9v5j52qjxyhf3";
|
2011-09-13 18:35:18 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-04-17 20:12:59 +01:00
|
|
|
blazeHtml blazeMarkup clientsession cmdargs conduitExtra
|
|
|
|
dataDefault filepath hamlet hjsmin hledger hledgerLib httpClient
|
|
|
|
httpConduit HUnit json networkConduit parsec regexpr safe
|
2014-05-01 11:19:52 +01:00
|
|
|
shakespeare shakespeareText text time transformers wai waiExtra
|
2014-04-17 20:12:59 +01:00
|
|
|
waiHandlerLaunch warp yaml yesod yesodCore yesodStatic
|
2011-09-13 18:35:18 +01:00
|
|
|
];
|
2013-06-02 17:07:03 +01:00
|
|
|
testDepends = [ hspec yesod yesodTest ];
|
2014-03-11 15:13:14 +00:00
|
|
|
jailbreak = true;
|
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;
|
|
|
|
};
|
|
|
|
})
|