Unverified Commit f08f8825 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.smpplib: pythonImportsCheck

parent 56a016bd
Loading
Loading
Loading
Loading
+21 −4
Original line number Diff line number Diff line
{ buildPythonPackage, fetchPypi, lib, python, six, mock, pytestCheckHook }:
{ lib
, buildPythonPackage
, fetchPypi
, python
, six
, mock
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "smpplib";
@@ -9,17 +16,27 @@ buildPythonPackage rec {
    sha256 = "c0b01947b47e404f42ccb59e906b6e4eb507963c971d59b44350db0f29c76166";
  };

  propagatedBuildInputs = [ six ];
  checkInputs = [ mock pytestCheckHook ];
  propagatedBuildInputs = [
    six
  ];

  checkInputs = [
    mock
    pytestCheckHook
  ];

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

  pythonImportsCheck = [
    "smpplib"
  ];

  meta = with lib; {
    description = "SMPP library for Python";
    homepage = "https://github.com/python-smpplib/python-smpplib";
    license = licenses.lgpl3Plus;
    maintainers = [ maintainers.globin ];
    maintainers = with maintainers; [ globin ];
  };
}