haskell: add diagrams-contrib-0.6 and diagrams-svg-0.6

This commit is contained in:
Peter Simons 2012-12-12 11:37:44 +01:00
parent 67019c1676
commit b5ec495f5f
3 changed files with 39 additions and 3 deletions

View File

@ -0,0 +1,18 @@
{ cabal, colour, dataDefault, diagramsLib, forceLayout, lens, mtl
, vectorSpace
}:
cabal.mkDerivation (self: {
pname = "diagrams-contrib";
version = "0.6";
sha256 = "059ljwsbrkzj2wvx9q4viinz46nw5lf4yjmx2c1dmwaqfz3i7j7i";
buildDepends = [
colour dataDefault diagramsLib forceLayout lens mtl vectorSpace
];
meta = {
homepage = "http://projects.haskell.org/diagrams/";
description = "Collection of user contributions to diagrams EDSL";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,19 @@
{ cabal, blazeSvg, cmdargs, colour, diagramsCore, diagramsLib
, filepath, monoidExtras, mtl, split, time, vectorSpace
}:
cabal.mkDerivation (self: {
pname = "diagrams-svg";
version = "0.6";
sha256 = "0yiqilpksgsy87dxx4664pgbbgqcr98j1da4krb751x0yxkglyh5";
buildDepends = [
blazeSvg cmdargs colour diagramsCore diagramsLib filepath
monoidExtras mtl split time vectorSpace
];
meta = {
homepage = "http://projects.haskell.org/diagrams/";
description = "SVG backend for diagrams drawing EDSL";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -689,12 +689,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
derp = callPackage ../development/libraries/haskell/derp {};
diagrams = callPackage ../development/libraries/haskell/diagrams/diagrams.nix {};
diagramsCairo = callPackage ../development/libraries/haskell/diagrams/cairo.nix {};
diagramsCore = callPackage ../development/libraries/haskell/diagrams/core.nix {};
diagramsContrib = callPackage ../development/libraries/haskell/diagrams/contrib.nix {};
diagramsLib = callPackage ../development/libraries/haskell/diagrams/lib.nix {};
diagramsSvg = callPackage ../development/libraries/haskell/diagrams/svg.nix {};
Diff = callPackage ../development/libraries/haskell/Diff {};