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 buildPythonPackage, 4 fetchFromGitHub, 5 colorama, 6 - pytest, 7 - pytest-cov, 8 }: 9 10 buildPythonPackage { ··· 21 }; 22 23 propagatedBuildInputs = [ colorama ]; 24 - nativeCheckInputs = [ 25 - pytest 26 - pytest-cov 27 - ]; 28 - checkPhase = '' 29 - pytest 30 - ''; 31 32 meta = with lib; { 33 description = "Python 2.7 & 3.5+ runtime type-checker";
··· 3 buildPythonPackage, 4 fetchFromGitHub, 5 colorama, 6 + pytestCheckHook, 7 }: 8 9 buildPythonPackage { ··· 20 }; 21 22 propagatedBuildInputs = [ colorama ]; 23 + nativeCheckInputs = [ pytestCheckHook ]; 24 25 meta = with lib; { 26 description = "Python 2.7 & 3.5+ runtime type-checker";