From 9d0985f5d7cb3738e3f3c19807f452d5ee928d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 28 May 2022 19:17:34 +0200 Subject: [PATCH] python310Packages.pyscss: switch to pytestCheckHook --- pkgs/development/python-modules/pyscss/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyscss/default.nix b/pkgs/development/python-modules/pyscss/default.nix index a66475d81699..5153663c6e88 100644 --- a/pkgs/development/python-modules/pyscss/default.nix +++ b/pkgs/development/python-modules/pyscss/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub -, pytest +, pytestCheckHook , six , enum34 , pathlib @@ -19,7 +19,7 @@ buildPythonPackage rec { sha256 = "sha256-z0y4z+/JE6rZWHAvps/taDZvutyVhxxs2gMujV5rNu4="; }; - checkInputs = [ pytest ]; + checkInputs = [ pytestCheckHook ]; propagatedBuildInputs = [ six ] ++ lib.optionals (pythonOlder "3.4") [ enum34 pathlib ]; @@ -27,14 +27,11 @@ buildPythonPackage rec { # Test suite is broken. # See https://github.com/Kronuz/pyScss/issues/415 doCheck = false; - checkPhase = '' - py.test - ''; meta = with lib; { description = "A Scss compiler for Python"; homepage = "https://pyscss.readthedocs.org/en/latest/"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; - }