forked from mirrors/nixpkgs
30 lines
940 B
Nix
30 lines
940 B
Nix
{ cabal, cmdargs, csv, filepath, HUnit, mtl, parsec, prettyShow
|
|
, regexCompat, regexpr, safe, split, testFramework
|
|
, testFrameworkHunit, time, transformers, utf8String
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hledger-lib";
|
|
version = "0.21.2";
|
|
sha256 = "07li348kmwz9j4bfgmkq7zs9nyqxi5hhydij2fg4jwj0hbfxvmy9";
|
|
buildDepends = [
|
|
cmdargs csv filepath HUnit mtl parsec prettyShow regexCompat
|
|
regexpr safe split time transformers utf8String
|
|
];
|
|
testDepends = [
|
|
cmdargs csv filepath HUnit mtl parsec prettyShow regexCompat
|
|
regexpr safe split testFramework testFrameworkHunit time
|
|
transformers
|
|
];
|
|
meta = {
|
|
homepage = "http://hledger.org";
|
|
description = "Core data types, parsers and utilities for the hledger accounting tool";
|
|
license = "GPL";
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [
|
|
self.stdenv.lib.maintainers.andres
|
|
self.stdenv.lib.maintainers.simons
|
|
];
|
|
};
|
|
})
|