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