mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ cabal, cmdargs, csv, dataPprint, filepath, haskeline, hledgerLib
|
|
, HUnit, mtl, parsec, prettyShow, regexCompatTdfa, regexpr, safe
|
|
, shakespeareText, split, tabular, testFramework
|
|
, testFrameworkHunit, text, time, transformers, utf8String
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hledger";
|
|
version = "0.22";
|
|
sha256 = "1fwi1a2nvhfjinif7gy7rv00gn7kazwzmhsskpim2a7bg99sfxb9";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
cmdargs dataPprint filepath haskeline hledgerLib HUnit mtl parsec
|
|
regexpr safe shakespeareText split tabular text time utf8String
|
|
];
|
|
testDepends = [
|
|
cmdargs csv dataPprint filepath haskeline hledgerLib HUnit mtl
|
|
parsec prettyShow regexCompatTdfa regexpr safe shakespeareText
|
|
split tabular testFramework testFrameworkHunit text time
|
|
transformers
|
|
];
|
|
meta = {
|
|
homepage = "http://hledger.org";
|
|
description = "The main command-line interface for the hledger accounting tool";
|
|
license = "GPL";
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [
|
|
self.stdenv.lib.maintainers.andres
|
|
self.stdenv.lib.maintainers.simons
|
|
];
|
|
};
|
|
})
|