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