python310Packages.pyscss: switch to pytestCheckHook
This commit is contained in:
parent
cb24b62e36
commit
9d0985f5d7
|
@ -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…
Reference in a new issue