lol

python310Packages.smpplib: pythonImportsCheck

authored by

Fabian Affolter and committed by
GitHub
f08f8825 56a016bd

+21 -4
+21 -4
pkgs/development/python-modules/smpplib/default.nix
··· 1 - { buildPythonPackage, fetchPypi, lib, python, six, mock, pytestCheckHook }: 2 3 buildPythonPackage rec { 4 pname = "smpplib"; ··· 9 sha256 = "c0b01947b47e404f42ccb59e906b6e4eb507963c971d59b44350db0f29c76166"; 10 }; 11 12 - propagatedBuildInputs = [ six ]; 13 - checkInputs = [ mock pytestCheckHook ]; 14 15 postInstall = '' 16 rm -rf $out/${python.sitePackages}/tests 17 ''; 18 19 meta = with lib; { 20 description = "SMPP library for Python"; 21 homepage = "https://github.com/python-smpplib/python-smpplib"; 22 license = licenses.lgpl3Plus; 23 - maintainers = [ maintainers.globin ]; 24 }; 25 }
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , python 5 + , six 6 + , mock 7 + , pytestCheckHook 8 + }: 9 10 buildPythonPackage rec { 11 pname = "smpplib"; ··· 16 sha256 = "c0b01947b47e404f42ccb59e906b6e4eb507963c971d59b44350db0f29c76166"; 17 }; 18 19 + propagatedBuildInputs = [ 20 + six 21 + ]; 22 + 23 + checkInputs = [ 24 + mock 25 + pytestCheckHook 26 + ]; 27 28 postInstall = '' 29 rm -rf $out/${python.sitePackages}/tests 30 ''; 31 32 + pythonImportsCheck = [ 33 + "smpplib" 34 + ]; 35 + 36 meta = with lib; { 37 description = "SMPP library for Python"; 38 homepage = "https://github.com/python-smpplib/python-smpplib"; 39 license = licenses.lgpl3Plus; 40 + maintainers = with maintainers; [ globin ]; 41 }; 42 }