mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
7165babaf1
This change brings support for building and running the regressions test suites.
24 lines
755 B
Nix
24 lines
755 B
Nix
{ cabal, colour, dataDefault, diagramsLib, forceLayout, HUnit, lens
|
|
, mtl, QuickCheck, testFramework, testFrameworkHunit
|
|
, testFrameworkQuickcheck2, vectorSpace
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "diagrams-contrib";
|
|
version = "0.6.0.3";
|
|
sha256 = "0j0wmf2nksqh3rqmzyw468bp25zikc5icif5f3rfi1v06ghsk0i5";
|
|
buildDepends = [
|
|
colour dataDefault diagramsLib forceLayout lens mtl vectorSpace
|
|
];
|
|
testDepends = [
|
|
diagramsLib HUnit QuickCheck testFramework testFrameworkHunit
|
|
testFrameworkQuickcheck2
|
|
];
|
|
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;
|
|
};
|
|
})
|