lol

python310Packages.smpplib: use pytestCheckHook, remove tox requirement

+2 -6
+2 -6
pkgs/development/python-modules/smpplib/default.nix
··· 1 - { buildPythonPackage, fetchPypi, lib, python, six, tox, mock, pytest }: 1 + { buildPythonPackage, fetchPypi, lib, python, six, mock, pytestCheckHook }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "smpplib"; ··· 10 10 }; 11 11 12 12 propagatedBuildInputs = [ six ]; 13 - checkInputs = [ tox mock pytest ]; 14 - 15 - checkPhase = '' 16 - pytest 17 - ''; 13 + checkInputs = [ mock pytestCheckHook ]; 18 14 19 15 postInstall = '' 20 16 rm -rf $out/${python.sitePackages}/tests