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
|
|
|
|
, 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-04-17 20:12:59 +01:00
|
|
|
version = "0.22.7";
|
|
|
|
sha256 = "0dxlprmymspjwxdr9sig483y8azd7z42sv6k6r35m74z7naga68y";
|
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
|
|
|
|
shakespeareText text time transformers wai waiExtra
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|