From 3c5ff4a11887d137740c4f419dfc916019078aed Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 13 Sep 2011 17:35:18 +0000 Subject: [PATCH] haskell-hledger-web: added version 0.15.3 svn path=/nixpkgs/trunk/; revision=29243 --- .../libraries/haskell/hledger-web/default.nix | 24 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 1 + 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/haskell/hledger-web/default.nix 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 {};