1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/hledger-chart/default.nix
Peter Simons b24279ff39 haskell-hledger-chart: updated to version 0.16.1
svn path=/nixpkgs/trunk/; revision=31931
2012-01-30 10:52:10 +00:00

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
];
};
})