haskell-packages.nix: added hledger and hledger-lib
svn path=/nixpkgs/trunk/; revision=27853
This commit is contained in:
parent
f8b4f9e85c
commit
7237cf32ec
3 changed files with 27 additions and 0 deletions
11
pkgs/development/libraries/haskell/hledger-lib/default.nix
Normal file
11
pkgs/development/libraries/haskell/hledger-lib/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{cabal, HUnit, mtl, parsec, regexpr, safe, split, utf8String}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hledger-lib";
|
||||
version = "0.14";
|
||||
sha256 = "9a6d6ab4383800279e135e9bbcd886e95cea45232d093202c5d43e6edd1f927c";
|
||||
propagatedBuildInputs = [HUnit mtl parsec regexpr safe split utf8String];
|
||||
meta = {
|
||||
description = "core data types, parsers and utilities used by the hledger tools";
|
||||
};
|
||||
})
|
13
pkgs/development/libraries/haskell/hledger/default.nix
Normal file
13
pkgs/development/libraries/haskell/hledger/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{cabal, hledgerLib, csv, haskeline}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "hledger";
|
||||
version = "0.14";
|
||||
sha256 = "1bfcb1dcc88d8cec924afbf7aefd1ccf88b7be785b522c1595b75b91f8c82d35";
|
||||
propagatedBuildInputs = [hledgerLib csv haskeline];
|
||||
meta = {
|
||||
description = "a reliable, practical financial reporting tool for day-to-day use";
|
||||
platforms = self.stdenv.lib.platforms.haskellPlatforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
})
|
|
@ -611,6 +611,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
|
||||
Hipmunk = callPackage ../development/libraries/haskell/Hipmunk {};
|
||||
|
||||
hledger = callPackage ../development/libraries/haskell/hledger {};
|
||||
hledgerLib = callPackage ../development/libraries/haskell/hledger-lib {};
|
||||
|
||||
HList = callPackage ../development/libraries/haskell/HList {};
|
||||
|
||||
hmatrix = callPackage ../development/libraries/haskell/hmatrix {
|
||||
|
|
Loading…
Reference in a new issue