diff --git a/pkgs/development/libraries/haskell/hledger-web/default.nix b/pkgs/development/libraries/haskell/hledger-web/default.nix new file mode 100644 index 000000000000..9e1a52a5452f --- /dev/null +++ b/pkgs/development/libraries/haskell/hledger-web/default.nix @@ -0,0 +1,24 @@ +{ cabal, aeson, cmdargs, failure, fileEmbed, hamlet, hledger +, hledgerLib, HUnit, ioStorage, parsec, regexpr, safe, text, time +, transformers, wai, waiExtra, warp, yesodCore, yesodForm +, yesodJson, yesodStatic +}: + +cabal.mkDerivation (self: { + pname = "hledger-web"; + version = "0.15.3"; + sha256 = "1z2pimxz2ykfb89qwp6cil4nljn8pcz8n7pjhvk948zsd96n2i6f"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + aeson cmdargs failure fileEmbed hamlet hledger hledgerLib HUnit + ioStorage parsec regexpr safe text time transformers wai waiExtra + warp yesodCore yesodForm yesodJson yesodStatic + ]; + meta = { + homepage = "http://hledger.org"; + description = "A web interface for the hledger accounting tool"; + license = "GPL"; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 474dd8410478..6e42881c1f85 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -713,6 +713,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hledgerVty = callPackage ../development/libraries/haskell/hledger-vty {}; hledgerChart = callPackage ../development/libraries/haskell/hledger-chart {}; hledgerInterest = callPackage ../applications/office/hledger-interest {}; + hledgerWeb = callPackage ../development/libraries/haskell/hledger-web {}; HList = callPackage ../development/libraries/haskell/HList {};