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