1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 certifi, 7 python-dateutil, 8 six, 9 urllib3, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "brevo-python"; 15 version = "1.1.2"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "getbrevo"; 20 repo = "brevo-python"; 21 tag = "v${version}"; 22 hash = "sha256-XOUFyUrqVlI7Qr4uzeXr6GJuQ+QTVhsueT1xxVQMm14="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 certifi 29 python-dateutil 30 six 31 urllib3 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 ]; 37 38 pythonImportsCheck = [ "brevo_python" ]; 39 40 meta = { 41 description = "Fully-featured Python API client to interact with Brevo"; 42 homepage = "https://github.com/getbrevo/brevo-python"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ soyouzpanda ]; 45 }; 46}