2012-11-17 11:39:25 +01:00
|
|
|
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
2014-04-17 21:12:59 +02: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 19:35:18 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-web";
|
2014-04-17 21:12:59 +02:00
|
|
|
version = "0.22.7";
|
|
|
|
sha256 = "0dxlprmymspjwxdr9sig483y8azd7z42sv6k6r35m74z7naga68y";
|
2011-09-13 19:35:18 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-04-17 21:12:59 +02: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 19:35:18 +02:00
|
|
|
];
|
2013-06-02 18:07:03 +02:00
|
|
|
testDepends = [ hspec yesod yesodTest ];
|
2014-03-11 16:13:14 +01:00
|
|
|
jailbreak = true;
|
2013-02-25 02:01:23 +01:00
|
|
|
doCheck = false;
|
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;
|
|
|
|
};
|
|
|
|
})
|