2012-05-29 20:16:01 +00:00
|
|
|
{ cabal, cmdargs, csv, filepath, HUnit, mtl, parsec, regexpr, safe
|
2012-07-02 08:44:37 +00:00
|
|
|
, shakespeareText, split, time, transformers, utf8String
|
2011-08-09 23:00:20 +00:00
|
|
|
}:
|
2011-07-20 18:20:42 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2011-07-20 18:20:42 +00:00
|
|
|
pname = "hledger-lib";
|
2012-07-14 09:14:39 +00:00
|
|
|
version = "0.18.2";
|
|
|
|
sha256 = "0lcs58bdix4m7sslrdi38rqw5x5fb4ip0n5is0phxdrbp0nggd4z";
|
2011-08-09 23:00:20 +00:00
|
|
|
buildDepends = [
|
2012-05-29 20:16:01 +00:00
|
|
|
cmdargs csv filepath HUnit mtl parsec regexpr safe shakespeareText
|
2012-07-02 08:44:37 +00:00
|
|
|
split time transformers utf8String
|
2011-08-09 23:00:20 +00:00
|
|
|
];
|
2012-08-23 15:37:40 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|,split.*|,split|' hledger-lib.cabal
|
|
|
|
'';
|
2011-07-20 18:20:42 +00:00
|
|
|
meta = {
|
2011-08-09 23:00:20 +00:00
|
|
|
homepage = "http://hledger.org";
|
2011-09-02 18:02:16 +00:00
|
|
|
description = "Core data types, parsers and utilities for the hledger accounting tool";
|
2011-08-09 23:00:20 +00:00
|
|
|
license = "GPL";
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-07-20 18:20:42 +00:00
|
|
|
};
|
|
|
|
})
|