at master 798 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 python, 6 six, 7 mock, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "smpplib"; 13 version = "2.2.4"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-bzsDb8smQ8G3oyibtaxMmnIK8b9z5XLicp22tdgAwnM="; 19 }; 20 21 propagatedBuildInputs = [ six ]; 22 23 nativeCheckInputs = [ 24 mock 25 pytestCheckHook 26 ]; 27 28 postInstall = '' 29 rm -rf $out/${python.sitePackages}/tests 30 ''; 31 32 pythonImportsCheck = [ "smpplib" ]; 33 34 meta = with lib; { 35 description = "SMPP library for Python"; 36 homepage = "https://github.com/python-smpplib/python-smpplib"; 37 changelog = "https://github.com/python-smpplib/python-smpplib/releases/tag/${version}"; 38 license = licenses.lgpl3Plus; 39 maintainers = [ ]; 40 }; 41}