From cbae06007d0a59e799d8a29b27f995fb7972d0f8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 2 Apr 2023 15:58:25 +0200 Subject: [PATCH] python310Packages.pytest-instafail: disable on unsupported Python releases - add format --- pkgs/development/python-modules/pytest-instafail/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pytest-instafail/default.nix b/pkgs/development/python-modules/pytest-instafail/default.nix index 256c3c582a29..3b237105d4c0 100644 --- a/pkgs/development/python-modules/pytest-instafail/default.nix +++ b/pkgs/development/python-modules/pytest-instafail/default.nix @@ -3,11 +3,15 @@ , fetchPypi , pytest , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "pytest-instafail"; version = "0.5.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version;