mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
31 lines
1 KiB
Nix
31 lines
1 KiB
Nix
{ cabal, blazeHtml, blazeMarkup, clientsession, cmdargs
|
|
, dataDefault, filepath, hamlet, hjsmin, hledger, hledgerLib, hspec
|
|
, httpConduit, HUnit, json, networkConduit, parsec, regexpr, safe
|
|
, shakespeareText, text, time, transformers, wai, waiExtra
|
|
, waiHandlerLaunch, warp, yaml, yesod, yesodCore, yesodStatic
|
|
, yesodTest
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hledger-web";
|
|
version = "0.21.3";
|
|
sha256 = "18gil6qwlzfk0y0f9q1la5np5phi0h3nqlb8rwn9qjjgvs134jgy";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
blazeHtml blazeMarkup clientsession cmdargs dataDefault filepath
|
|
hamlet hjsmin hledger hledgerLib httpConduit HUnit json
|
|
networkConduit parsec regexpr safe shakespeareText text time
|
|
transformers wai waiExtra waiHandlerLaunch warp yaml yesod
|
|
yesodCore yesodStatic
|
|
];
|
|
testDepends = [ hspec yesod yesodTest ];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "http://hledger.org";
|
|
description = "A web interface for the hledger accounting tool";
|
|
license = "GPL";
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|