haskell-packages.nix: added hledger-chart and hledger-vty

svn path=/nixpkgs/trunk/; revision=27855
This commit is contained in:
Peter Simons 2011-07-20 18:32:33 +00:00
parent 7237cf32ec
commit 9d426cd470
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{cabal, Chart, colour, hledger, hledgerLib, safe}:
cabal.mkDerivation (self : {
pname = "hledger-chart";
version = "0.14";
sha256 = "fe321e4e31c72aef22945080323992a0033ae8fb48213ad7b708f86f9e2f6462";
propagatedBuildInputs = [Chart colour hledger hledgerLib safe];
meta = {
description = "generate simple pie chart graphics showing hledger account balances";
platforms = self.stdenv.lib.platforms.haskellPlatforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})

View File

@ -0,0 +1,13 @@
{cabal, hledger, hledgerLib, vty, safe}:
cabal.mkDerivation (self : {
pname = "hledger-vty";
version = "0.14";
sha256 = "3d9972430053548a65bfe5fb39ba374d1c930c6e0cfc704be5c59de742a4287e";
propagatedBuildInputs = [hledger hledgerLib vty safe];
meta = {
description = "a simple curses-style console interface to hledger";
platforms = self.stdenv.lib.platforms.haskellPlatforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})

View File

@ -613,6 +613,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
hledger = callPackage ../development/libraries/haskell/hledger {};
hledgerLib = callPackage ../development/libraries/haskell/hledger-lib {};
hledgerVty = callPackage ../development/libraries/haskell/hledger-vty {};
hledgerChart = callPackage ../development/libraries/haskell/hledger-chart {};
HList = callPackage ../development/libraries/haskell/HList {};