3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/haskell/hledger/default.nix

33 lines
1 KiB
Nix
Raw Normal View History

{ cabal, cmdargs, csv, filepath, haskeline, hledgerLib, HUnit, mtl
, parsec, prettyShow, regexCompat, regexpr, safe, shakespeareText
, split, testFramework, testFrameworkHunit, text, time
, transformers, utf8String
}:
cabal.mkDerivation (self: {
pname = "hledger";
version = "0.21";
sha256 = "1s44kmkkndqpnhsl23ba0b9g3dhswp4brd0nfi7gzlbdg8z8024w";
isLibrary = true;
isExecutable = true;
buildDepends = [
cmdargs filepath haskeline hledgerLib HUnit mtl parsec regexpr safe
shakespeareText split text time utf8String
];
testDepends = [
cmdargs csv filepath haskeline hledgerLib HUnit mtl parsec
prettyShow regexCompat regexpr safe shakespeareText split
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
];
};
})