mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
b24279ff39
svn path=/nixpkgs/trunk/; revision=31931
28 lines
759 B
Nix
28 lines
759 B
Nix
{ cabal, Chart, cmdargs, colour, hledger, hledgerLib, HUnit, safe
|
|
, time
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hledger-chart";
|
|
version = "0.16.1";
|
|
sha256 = "1yk563032ir98gqdvxazjjl1alg6q1pflzawh11pr3zrdnriracn";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
Chart cmdargs colour hledger hledgerLib HUnit safe time
|
|
];
|
|
patchPhase = ''
|
|
sed -i hledger-chart.cabal -e 's|Chart >= 0.11 && < 0.15|Chart|g'
|
|
'';
|
|
meta = {
|
|
homepage = "http://hledger.org";
|
|
description = "A pie chart image generator for the hledger accounting tool";
|
|
license = "GPL";
|
|
platforms = self.stdenv.lib.platforms.linux;
|
|
maintainers = [
|
|
self.stdenv.lib.maintainers.andres
|
|
self.stdenv.lib.maintainers.simons
|
|
];
|
|
};
|
|
})
|