mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
5320792ed7
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>
20 lines
603 B
Nix
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;
|
|
};
|
|
})
|