mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
20 lines
626 B
Nix
20 lines
626 B
Nix
{ cabal, active, colour, dataDefault, diagramsCore, monoidExtras
|
|
, newtype, NumInstances, semigroups, vectorSpace
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "diagrams-lib";
|
|
version = "0.6";
|
|
sha256 = "05nfp5ggjk4fviwvwiblmzzw5dbzbi1w8dx5dimvah7wxb0km3lf";
|
|
buildDepends = [
|
|
active colour dataDefault diagramsCore monoidExtras 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;
|
|
};
|
|
})
|