1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 10:36:36 +03:00
nixpkgs/pkgs/development/python-modules/smpplib/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
671 B
Nix
Raw Normal View History

2020-04-21 13:34:59 +02:00
{ buildPythonPackage, fetchPypi, lib, python, six, tox, mock, pytest }:
buildPythonPackage rec {
pname = "smpplib";
version = "2.2.1";
2020-04-21 13:34:59 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "c0b01947b47e404f42ccb59e906b6e4eb507963c971d59b44350db0f29c76166";
2020-04-21 13:34:59 +02:00
};
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 ];
};
}