2018-08-03 16:40:56 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
|
|
|
|
, pep8, nose, unittest2, docutils, blockdiag, reportlab }:
|
2017-07-19 09:59:47 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "actdiag";
|
2017-07-28 15:49:08 +01:00
|
|
|
version = "0.5.4";
|
2017-07-19 09:59:47 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-07-28 15:49:08 +01:00
|
|
|
sha256 = "983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af";
|
2017-07-19 09:59:47 +01:00
|
|
|
};
|
|
|
|
|
2018-08-03 16:40:56 +01:00
|
|
|
patches = fetchpatch {
|
|
|
|
name = "drop_test_pep8.py.patch";
|
|
|
|
url = https://bitbucket.org/blockdiag/actdiag/commits/c1f2ed5947a1e93291f5860e4e30cee098bd635d/raw;
|
|
|
|
sha256 = "1zxzwb0fvwlc8xgs45fx65341sjhb3h6l2p6rdj6i127vg1hsxb4";
|
|
|
|
};
|
|
|
|
|
2017-07-19 09:59:47 +01:00
|
|
|
buildInputs = [ pep8 nose unittest2 docutils ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ blockdiag ];
|
|
|
|
|
2018-08-03 16:40:56 +01:00
|
|
|
checkInputs = [ reportlab ];
|
2017-07-19 09:59:47 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
|
|
|
|
homepage = http://blockdiag.com/;
|
|
|
|
license = licenses.asl20;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-07-19 09:59:47 +01:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|