depot/third_party/nixpkgs/pkgs/development/python-modules/smpplib/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

41 lines
816 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
python,
six,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "smpplib";
version = "2.2.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-UhWpWwU40m8YlgDgmCsx2oKB90U81uKGLFsh4+EAIzE=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [
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";
changelog = "https://github.com/python-smpplib/python-smpplib/releases/tag/${version}";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ ];
};
}