2013-02-24 21:09:07 +00:00
|
|
|
{ cabal, colour, dlist, fgl, filepath, polyparse, QuickCheck
|
|
|
|
, temporary, text, transformers, wlPprintText
|
2011-08-09 23:00:20 +00:00
|
|
|
}:
|
2010-10-13 21:18:35 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2010-10-13 21:18:35 +00:00
|
|
|
pname = "graphviz";
|
2013-02-14 11:42:08 +00:00
|
|
|
version = "2999.16.0.0";
|
|
|
|
sha256 = "1g4q4wyj5amz9xvgnqn143p5nq6m4a0lggxz7jn9l2hwp41bx1g8";
|
2011-08-09 23:00:20 +00:00
|
|
|
buildDepends = [
|
2013-02-14 11:42:08 +00:00
|
|
|
colour dlist fgl filepath polyparse temporary text transformers
|
|
|
|
wlPprintText
|
2011-08-09 23:00:20 +00:00
|
|
|
];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
|
|
|
colour dlist fgl filepath polyparse QuickCheck temporary text
|
|
|
|
transformers wlPprintText
|
|
|
|
];
|
2013-05-16 11:43:51 +00:00
|
|
|
patchPhase = ''
|
2013-12-02 10:30:17 +00:00
|
|
|
sed -i -e 's|polyparse.*,|polyparse,|' -e 's|dlist ==.*|dlist|' graphviz.cabal
|
2013-05-16 11:43:51 +00:00
|
|
|
'';
|
haskell-graphviz: disable 'doCheck' to avoid test suite failures
Test suite graphviz-testsuite: RUNNING...
This is the test suite for the graphviz library.
If any of these tests fail, please inform the maintainer,
including full output of this test suite.
======================================================================
Running test: "Printing and parsing of Attributes".
The most common source of errors in printing and parsing are for
Attributes.
+++ OK, passed 200 tests.
All tests for "Printing and parsing of Attributes" were successful!
======================================================================
Running test: "Printing generalised Dot code".
When generalising "DotGraph" values to other "DotRepr" values,
the generated Dot code should be identical.
+++ OK, passed 200 tests.
All tests for "Printing generalised Dot code" were successful!
======================================================================
Running test: "Printing and Parsing DotReprs".
The graphviz library should be able to parse back in its own
generated Dot code for any "DotRepr" instance
+++ OK, passed 200 tests.
+++ OK, passed 200 tests.
+++ OK, passed 200 tests.
All tests for "Printing and Parsing DotReprs" were successful!
======================================================================
Running test: "Pre-processing Dot code".
When parsing Dot code, some pre-processing is done to remove items
such as comments and to join together multi-line strings. This
test verifies that this pre-processing doesn't affect actual
Dot code by running the pre-processor on generated Dot code.
This test is not run on generalised Dot graphs as if it works for
normal dot graphs then it should also work for generalised ones.
+++ OK, passed 200 tests.
All tests for "Pre-processing Dot code" were successful!
======================================================================
Running test: "Augmenting FGL Graphs".
The various Graph to Graph functions in Data.GraphViz should
only _augment_ the graph labels and not change the graphs
themselves. This test compares the original graphs to these
augmented graphs and verifies that they are the same.
*** Failed! (after 1 test):
Exception:
Error running utility program: Error messages from neato:
-1:']'->[]
The tests for "Augmenting FGL Graphs" failed!
Not attempting any further tests.
Test suite graphviz-testsuite: FAIL
Test suite logged to: dist/test/graphviz-2999.16.0.0-graphviz-testsuite.log
0 of 1 test suites (0 of 1 test cases) passed.
2013-02-24 23:58:28 +00:00
|
|
|
doCheck = false;
|
2010-10-13 21:18:35 +00:00
|
|
|
meta = {
|
2011-08-07 22:02:21 +00:00
|
|
|
homepage = "http://projects.haskell.org/graphviz/";
|
2011-08-16 23:23:45 +00:00
|
|
|
description = "Bindings to Graphviz for graph visualisation";
|
2011-08-07 22:02:21 +00:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 09:54:50 +00:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 22:36:36 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-10-13 21:18:35 +00:00
|
|
|
};
|
2011-03-28 15:04:00 +00:00
|
|
|
})
|