diff options
Diffstat (limited to 'pkgs/development/python-modules/pyct/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyct/default.nix | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/pyct/default.nix b/pkgs/development/python-modules/pyct/default.nix index 4897a7e549172..4bc528b64f95f 100644 --- a/pkgs/development/python-modules/pyct/default.nix +++ b/pkgs/development/python-modules/pyct/default.nix @@ -1,11 +1,12 @@ -{ lib -, buildPythonPackage -, fetchPypi -, param -, pytestCheckHook -, pythonOlder -, pyyaml -, requests +{ + lib, + buildPythonPackage, + fetchPypi, + param, + pytestCheckHook, + pythonAtLeast, + pyyaml, + requests, }: buildPythonPackage rec { @@ -13,7 +14,7 @@ buildPythonPackage rec { version = "0.5.0"; format = "setuptools"; - disabled = pythonOlder "3.7"; + disabled = pythonAtLeast "3.12"; src = fetchPypi { inherit pname version; @@ -26,13 +27,9 @@ buildPythonPackage rec { requests ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "pyct" - ]; + pythonImportsCheck = [ "pyct" ]; meta = with lib; { description = "ClI for Python common tasks for users"; |