Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python311Packages.typesentry: migrate to pytestCheckHook

+2 -9
+2 -9
pkgs/development/python-modules/typesentry/default.nix
··· 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 5 colorama, 6 - pytest, 7 - pytest-cov, 6 + pytestCheckHook, 8 7 }: 9 8 10 9 buildPythonPackage { ··· 21 20 }; 22 21 23 22 propagatedBuildInputs = [ colorama ]; 24 - nativeCheckInputs = [ 25 - pytest 26 - pytest-cov 27 - ]; 28 - checkPhase = '' 29 - pytest 30 - ''; 23 + nativeCheckInputs = [ pytestCheckHook ]; 31 24 32 25 meta = with lib; { 33 26 description = "Python 2.7 & 3.5+ runtime type-checker";