11 buildPythonPackage rec {
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
21 rev = "refs/tags/${version}";
22 hash = "sha256-WmprkHOgvlsOIg8H77P7fzEqxGnj6xaL7Df7urRkg3o=";
25 patches = [ ./fix_test_generate.patch ];
27 build-system = [ setuptools ];
29 propagatedBuildInputs = [ blockdiag ];
31 nativeCheckInputs = [ pytestCheckHook ];
33 pytestFlagsArray = [ "src/actdiag/tests/" ];
36 # AttributeError: 'TestRstDirectives' object has no attribute 'assertRegexpMatches'
41 pythonImportsCheck = [ "actdiag" ];
44 description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
45 homepage = "http://blockdiag.com/";
46 changelog = "https://github.com/blockdiag/actdiag/blob/${version}/CHANGES.rst";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ bjornfor ];
49 mainProgram = "actdiag";
50 platforms = platforms.unix;