nixpkgs/pkgs/development/libraries/haskell/hledger/default.nix

34 lines
1.1 KiB
Nix
Raw Normal View History

{ 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
];
};
})