5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
41 lines
798 B
Nix
41 lines
798 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 = [ ];
|
|
};
|
|
}
|