1{ stdenv, buildPythonPackage, fetchPypi, fetchpatch 2, pep8, nose, unittest2, docutils, blockdiag, reportlab }: 3 4buildPythonPackage rec { 5 pname = "actdiag"; 6 version = "0.5.4"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af"; 11 }; 12 13 patches = fetchpatch { 14 name = "drop_test_pep8.py.patch"; 15 url = https://bitbucket.org/blockdiag/actdiag/commits/c1f2ed5947a1e93291f5860e4e30cee098bd635d/raw; 16 sha256 = "1zxzwb0fvwlc8xgs45fx65341sjhb3h6l2p6rdj6i127vg1hsxb4"; 17 }; 18 19 buildInputs = [ pep8 nose unittest2 docutils ]; 20 21 propagatedBuildInputs = [ blockdiag ]; 22 23 checkInputs = [ reportlab ]; 24 25 meta = with stdenv.lib; { 26 description = "Generate activity-diagram image from spec-text file (similar to Graphviz)"; 27 homepage = http://blockdiag.com/; 28 license = licenses.asl20; 29 platforms = platforms.linux; 30 maintainers = with maintainers; [ bjornfor ]; 31 }; 32}