diff --git a/pkgs/development/python-modules/returns/default.nix b/pkgs/development/python-modules/returns/default.nix index 0d356de77f79..098ae334ccd0 100644 --- a/pkgs/development/python-modules/returns/default.nix +++ b/pkgs/development/python-modules/returns/default.nix @@ -1,14 +1,15 @@ { lib , anyio -, curio , buildPythonPackage +, curio , fetchFromGitHub , httpx , hypothesis , poetry-core -, pytestCheckHook , pytest-aio , pytest-subtests +, pytestCheckHook +, pythonOlder , setuptools , trio , typing-extensions @@ -19,6 +20,8 @@ buildPythonPackage rec { version = "0.21.0"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "dry-python"; repo = "returns";