nixpkgs/pkgs/development/libraries/haskell/diagrams/lib.nix
aszlig 5320792ed7
haskell-diagrams: Move main libs into single dir.
That way we have all diagrams specific stuff in one directory, which coulde make
it easier for code-reuse in the future.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Acked-by: Peter Simons <simons@cryp.to>
2012-09-10 19:19:17 +02:00

20 lines
603 B
Nix

{ cabal, active, colour, dataDefault, diagramsCore, newtype
, NumInstances, semigroups, vectorSpace
}:
cabal.mkDerivation (self: {
pname = "diagrams-lib";
version = "0.5.0.1";
sha256 = "0spfsllr2z064cxkdqcij02f0ikxxmll2dqj7rfikp4738wj21dy";
buildDepends = [
active colour dataDefault diagramsCore newtype NumInstances
semigroups vectorSpace
];
meta = {
homepage = "http://projects.haskell.org/diagrams";
description = "Embedded domain-specific language for declarative graphics";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})