mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
python.pkgs.smpplib: init at 2.1.0
This commit is contained in:
parent
38c5add29c
commit
fb0c2616a7
29
pkgs/development/python-modules/smpplib/default.nix
Normal file
29
pkgs/development/python-modules/smpplib/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6204,6 +6204,8 @@ in {
|
||||||
|
|
||||||
smartdc = callPackage ../development/python-modules/smartdc { };
|
smartdc = callPackage ../development/python-modules/smartdc { };
|
||||||
|
|
||||||
|
smpplib = callPackage ../development/python-modules/smpplib { };
|
||||||
|
|
||||||
socksipy-branch = callPackage ../development/python-modules/socksipy-branch { };
|
socksipy-branch = callPackage ../development/python-modules/socksipy-branch { };
|
||||||
|
|
||||||
sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };
|
sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };
|
||||||
|
|
Loading…
Reference in a new issue