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