diff options
Diffstat (limited to 'pkgs/development/python-modules/transitions/default.nix')
-rw-r--r-- | pkgs/development/python-modules/transitions/default.nix | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/pkgs/development/python-modules/transitions/default.nix b/pkgs/development/python-modules/transitions/default.nix index 8ed221cd23e94..0f7310ca5c1fe 100644 --- a/pkgs/development/python-modules/transitions/default.nix +++ b/pkgs/development/python-modules/transitions/default.nix @@ -1,31 +1,30 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, fontconfig -, graphviz -, mock -, pycodestyle -, pygraphviz -, pytestCheckHook -, pythonAtLeast -, setuptools -, six +{ + lib, + stdenv, + buildPythonPackage, + fetchPypi, + fontconfig, + graphviz, + mock, + pycodestyle, + pygraphviz, + pytestCheckHook, + pythonAtLeast, + setuptools, + six, }: buildPythonPackage rec { pname = "transitions"; - version = "0.9.0"; + version = "0.9.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-L1TRG9siV3nX5ykBHpOp+3F2aM49xl+NT1pde6L0jhA="; + hash = "sha256-NULDcQjpPirl8hUgjsVzLJSncpN4VKECzXNFuWf+5hs="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ six @@ -44,21 +43,21 @@ buildPythonPackage rec { export HOME=$TMPDIR ''; - disabledTests = [ - "test_diagram" - "test_ordered_with_graph" - ] ++ lib.optionals stdenv.isDarwin [ - # Upstream issue https://github.com/pygraphviz/pygraphviz/issues/441 - "test_binary_stream" - ]; + disabledTests = + [ + "test_diagram" + "test_ordered_with_graph" + ] + ++ lib.optionals stdenv.isDarwin [ + # Upstream issue https://github.com/pygraphviz/pygraphviz/issues/441 + "test_binary_stream" + ]; - pythonImportsCheck = [ - "transitions" - ]; + pythonImportsCheck = [ "transitions" ]; meta = with lib; { homepage = "https://github.com/pytransitions/transitions"; - description = "A lightweight, object-oriented finite state machine implementation in Python"; + description = "Lightweight, object-oriented finite state machine implementation in Python"; changelog = "https://github.com/pytransitions/transitions/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; |