Loading pkgs/development/python-modules/actdiag/default.nix +18 −8 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ , blockdiag , buildPythonPackage , fetchFromGitHub , nose , pynose , pytestCheckHook , pythonOlder , setuptools Loading @@ -11,24 +11,27 @@ buildPythonPackage rec { pname = "actdiag"; version = "3.0.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "blockdiag"; repo = pname; rev = version; repo = "actdiag"; rev = "refs/tags/${version}"; hash = "sha256-WmprkHOgvlsOIg8H77P7fzEqxGnj6xaL7Df7urRkg3o="; }; build-system = [ setuptools ]; propagatedBuildInputs = [ blockdiag setuptools ]; nativeCheckInputs = [ nose pynose pytestCheckHook ]; Loading @@ -36,16 +39,23 @@ buildPythonPackage rec { "src/actdiag/tests/" ]; disabledTests = [ # AttributeError: 'TestRstDirectives' object has no attribute 'assertRegexpMatches' "svg" "noviewbox" ]; pythonImportsCheck = [ "actdiag" ]; meta = with lib; { description = "Generate activity-diagram image from spec-text file (similar to Graphviz)"; mainProgram = "actdiag"; homepage = "http://blockdiag.com/"; changelog = "https://github.com/blockdiag/actdiag/blob/${version}/CHANGES.rst"; license = licenses.asl20; platforms = platforms.unix; maintainers = with maintainers; [ bjornfor ]; mainProgram = "actdiag"; platforms = platforms.unix; }; } Loading
pkgs/development/python-modules/actdiag/default.nix +18 −8 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ , blockdiag , buildPythonPackage , fetchFromGitHub , nose , pynose , pytestCheckHook , pythonOlder , setuptools Loading @@ -11,24 +11,27 @@ buildPythonPackage rec { pname = "actdiag"; version = "3.0.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "blockdiag"; repo = pname; rev = version; repo = "actdiag"; rev = "refs/tags/${version}"; hash = "sha256-WmprkHOgvlsOIg8H77P7fzEqxGnj6xaL7Df7urRkg3o="; }; build-system = [ setuptools ]; propagatedBuildInputs = [ blockdiag setuptools ]; nativeCheckInputs = [ nose pynose pytestCheckHook ]; Loading @@ -36,16 +39,23 @@ buildPythonPackage rec { "src/actdiag/tests/" ]; disabledTests = [ # AttributeError: 'TestRstDirectives' object has no attribute 'assertRegexpMatches' "svg" "noviewbox" ]; pythonImportsCheck = [ "actdiag" ]; meta = with lib; { description = "Generate activity-diagram image from spec-text file (similar to Graphviz)"; mainProgram = "actdiag"; homepage = "http://blockdiag.com/"; changelog = "https://github.com/blockdiag/actdiag/blob/${version}/CHANGES.rst"; license = licenses.asl20; platforms = platforms.unix; maintainers = with maintainers; [ bjornfor ]; mainProgram = "actdiag"; platforms = platforms.unix; }; }