nixpkgs/pkgs/development/libraries/haskell/diagrams/contrib.nix

29 lines
1019 B
Nix

{ cabal, arithmoi, circlePacking, colour, dataDefault
, dataDefaultClass, diagramsCore, diagramsLib, forceLayout, HUnit
, lens, MonadRandom, mtl, parsec, QuickCheck, semigroups, split
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, text
, vectorSpace, vectorSpacePoints
}:
cabal.mkDerivation (self: {
pname = "diagrams-contrib";
version = "1.1.1.5";
sha256 = "1165qq5pzj3vr8f6545hpa5ri8jy43r1ydmimzy7xg9iynjgxass";
buildDepends = [
arithmoi circlePacking colour dataDefault dataDefaultClass
diagramsCore diagramsLib forceLayout lens MonadRandom mtl parsec
semigroups split text vectorSpace vectorSpacePoints
];
testDepends = [
diagramsLib HUnit QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2
];
jailbreak = true;
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;
};
})