pythonPackages.actdiag: run tests
This commit is contained in:
parent
a6c7132abc
commit
95134fb939
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
|
||||||
, pep8, nose, unittest2, docutils, blockdiag }:
|
, pep8, nose, unittest2, docutils, blockdiag, reportlab }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "actdiag";
|
pname = "actdiag";
|
||||||
@ -10,13 +10,17 @@ buildPythonPackage rec {
|
|||||||
sha256 = "983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af";
|
sha256 = "983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = fetchpatch {
|
||||||
|
name = "drop_test_pep8.py.patch";
|
||||||
|
url = https://bitbucket.org/blockdiag/actdiag/commits/c1f2ed5947a1e93291f5860e4e30cee098bd635d/raw;
|
||||||
|
sha256 = "1zxzwb0fvwlc8xgs45fx65341sjhb3h6l2p6rdj6i127vg1hsxb4";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ pep8 nose unittest2 docutils ];
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ blockdiag ];
|
propagatedBuildInputs = [ blockdiag ];
|
||||||
|
|
||||||
# One test fails:
|
checkInputs = [ reportlab ];
|
||||||
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128)
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
|
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
|
||||||
|
Loading…
Reference in New Issue
Block a user