diff options
Diffstat (limited to 'pkgs/development/python-modules/typeguard/default.nix')
-rw-r--r-- | pkgs/development/python-modules/typeguard/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/typeguard/default.nix b/pkgs/development/python-modules/typeguard/default.nix index 1c80ea352c09d..472b5b882f8ac 100644 --- a/pkgs/development/python-modules/typeguard/default.nix +++ b/pkgs/development/python-modules/typeguard/default.nix @@ -8,6 +8,7 @@ pytestCheckHook, typing-extensions, importlib-metadata, + mypy, sphinxHook, sphinx-autodoc-typehints, sphinx-rtd-theme, @@ -16,14 +17,14 @@ buildPythonPackage rec { pname = "typeguard"; - version = "4.2.1"; - format = "pyproject"; + version = "4.3.0"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-xVahuVlIIwUQBwylP6A0H7CWRhG9BdWY2H+1IRXWX+4="; + hash = "sha256-ku5qCuyRNRgermBn69YX/Z3o111xT7VIcopJM7HeplE="; }; outputs = [ @@ -31,7 +32,7 @@ buildPythonPackage rec { "doc" ]; - nativeBuildInputs = [ + build-system = [ glibcLocales setuptools setuptools-scm @@ -40,13 +41,16 @@ buildPythonPackage rec { sphinx-rtd-theme ]; - propagatedBuildInputs = [ + dependencies = [ typing-extensions ] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ]; env.LC_ALL = "en_US.utf-8"; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + mypy + pytestCheckHook + ]; pythonImportsCheck = [ "typeguard" ]; @@ -69,6 +73,6 @@ buildPythonPackage rec { homepage = "https://github.com/agronholm/typeguard"; changelog = "https://github.com/agronholm/typeguard/releases/tag/${version}"; license = licenses.mit; - maintainers = with maintainers; [ ]; + maintainers = [ ]; }; } |