nixpkgs-suyu/pkgs/development/libraries/haskell/diagrams/contrib.nix
2014-06-09 10:26:53 +02:00

28 lines
1,017 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.2";
sha256 = "1gljmzlhc6vck5lcsq9lhf2k4dik5pp62k85y2kkxgq0mxnmqf0g";
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;
};
})