Unverified Commit 56a016bd authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

python310Packages.smpplib: use pytestCheckHook, remove tox requirement

parent 026f64fc
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
{ buildPythonPackage, fetchPypi, lib, python, six, tox, mock, pytest }:
{ buildPythonPackage, fetchPypi, lib, python, six, mock, pytestCheckHook }:

buildPythonPackage rec {
  pname = "smpplib";
@@ -10,11 +10,7 @@ buildPythonPackage rec {
  };

  propagatedBuildInputs = [ six ];
  checkInputs = [ tox mock pytest ];

  checkPhase = ''
    pytest
  '';
  checkInputs = [ mock pytestCheckHook ];

  postInstall = ''
    rm -rf $out/${python.sitePackages}/tests