Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions pkgs/development/libraries/haskell/Chart/0.17.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{ cabal, cairo, colour, dataAccessor, dataAccessorTemplate, mtl
, time
}:

cabal.mkDerivation (self: {
pname = "Chart";
version = "0.17";
sha256 = "1ip1a61ryypwfzj6dc6n6pl92rflf7lqf1760ppjyg05q5pn6qxg";
buildDepends = [
cairo colour dataAccessor dataAccessorTemplate mtl time
];
meta = {
homepage = "https://github.com/timbod7/haskell-chart/wiki";
description = "A library for generating 2D Charts and Plots";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})
4 changes: 2 additions & 2 deletions pkgs/development/tools/haskell/splot/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ cabal, bytestringLexing, cairo, Chart, colour, HUnit, mtl
{ cabal, bytestringLexing, cairo, Chart_0_17, colour, HUnit, mtl
, strptime, time, vcsRevision
}:

Expand All @@ -9,7 +9,7 @@ cabal.mkDerivation (self: {
isLibrary = false;
isExecutable = true;
buildDepends = [
bytestringLexing cairo Chart colour HUnit mtl strptime time
bytestringLexing cairo Chart_0_17 colour HUnit mtl strptime time
vcsRevision
];
meta = {
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/haskell-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
cgi = self.cgi_3001_1_8_4;

Chart = callPackage ../development/libraries/haskell/Chart {};
Chart_0_17 = callPackage ../development/libraries/haskell/Chart/0.17.nix {};
ChartCairo = callPackage ../development/libraries/haskell/Chart-cairo {};
ChartGtk = callPackage ../development/libraries/haskell/Chart-gtk {};

Expand Down