python310Packages.pyscss: switch to pytestCheckHook

main
Sandro Jäckel 2 years ago committed by Jonathan Ringer
parent cb24b62e36
commit 9d0985f5d7
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
  1. 9
      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; [ ];
};
}

Loading…
Cancel
Save