python.pkgs.smpplib: init at 2.1.0

This commit is contained in:
Robin Gloster 2020-04-21 13:34:59 +02:00
parent 38c5add29c
commit fb0c2616a7
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ buildPythonPackage, fetchPypi, lib, python, six, tox, mock, pytest }:
buildPythonPackage rec {
pname = "smpplib";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0jzxlfwf0861ilh4xyd70hmkdbvdki52aalglm1bnpxkg6i3jhfz";
};
propagatedBuildInputs = [ six ];
checkInputs = [ tox mock pytest ];
checkPhase = ''
pytest
'';
postInstall = ''
rm -rf $out/${python.sitePackages}/tests
'';
meta = with lib; {
description = "SMPP library for Python";
homepage = "https://github.com/python-smpplib/python-smpplib";
license = licenses.lgpl3Plus;
maintainers = [ maintainers.globin ];
};
}

View File

@ -6204,6 +6204,8 @@ in {
smartdc = callPackage ../development/python-modules/smartdc { };
smpplib = callPackage ../development/python-modules/smpplib { };
socksipy-branch = callPackage ../development/python-modules/socksipy-branch { };
sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };