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-02-13 10:57:53 +01:00
|
|
|
version = "0.22.4";
|
|
|
|
sha256 = "07xz6ijg3nzzjair5gdjjryv5hs2rxws4maz22rrqnpf8wwjjc54";
|
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 ];
|
2014-03-11 16:13:14 +01:00
|
|
|
jailbreak = true;
|
2013-02-25 02:01:23 +01:00
|
|
|
doCheck = false;
|
2014-04-07 13:03:55 +02:00
|
|
|
patches = [ ./build-fix.patch ];
|
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;
|
|
|
|
};
|
|
|
|
})
|