2011-09-02 19:02:10 +01:00
|
|
|
{ cabal, Chart, cmdargs, colour, hledger, hledgerLib, HUnit, safe
|
|
|
|
, time
|
|
|
|
}:
|
2011-07-20 19:32:33 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2011-07-20 19:32:33 +01:00
|
|
|
pname = "hledger-chart";
|
2011-10-05 18:08:58 +01:00
|
|
|
version = "0.16.1";
|
|
|
|
sha256 = "1yk563032ir98gqdvxazjjl1alg6q1pflzawh11pr3zrdnriracn";
|
2011-08-10 00:00:20 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2011-09-02 19:02:10 +01:00
|
|
|
buildDepends = [
|
|
|
|
Chart cmdargs colour hledger hledgerLib HUnit safe time
|
|
|
|
];
|
2012-01-30 10:52:10 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i hledger-chart.cabal -e 's|Chart >= 0.11 && < 0.15|Chart|g'
|
|
|
|
'';
|
2011-07-20 19:32:33 +01:00
|
|
|
meta = {
|
2011-08-10 00:00:20 +01:00
|
|
|
homepage = "http://hledger.org";
|
2011-09-02 19:02:10 +01:00
|
|
|
description = "A pie chart image generator for the hledger accounting tool";
|
2011-08-10 00:00:20 +01:00
|
|
|
license = "GPL";
|
2011-07-24 21:05:08 +01:00
|
|
|
platforms = self.stdenv.lib.platforms.linux;
|
2011-08-10 00:00:20 +01:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-07-20 19:32:33 +01:00
|
|
|
};
|
|
|
|
})
|