1{ lib 2, buildPythonPackage 3, fetchPypi 4, future 5, mock 6, parameterized 7, pytestCheckHook 8, python-dateutil 9, pythonOlder 10, six 11}: 12 13buildPythonPackage rec { 14 pname = "vertica-python"; 15 version = "1.3.6"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-LLlaLP9NgzpJyxsEGPd7sdcVX/qXY8mO3ZQNm39gocM="; 23 }; 24 25 propagatedBuildInputs = [ 26 future 27 python-dateutil 28 six 29 ]; 30 31 nativeCheckInputs = [ 32 mock 33 parameterized 34 pytestCheckHook 35 ]; 36 37 disabledTestPaths = [ 38 # Integration tests require an accessible Vertica db 39 "vertica_python/tests/integration_tests" 40 ]; 41 42 pythonImportsCheck = [ 43 "vertica_python" 44 ]; 45 46 meta = with lib; { 47 description = "Native Python client for Vertica database"; 48 homepage = "https://github.com/vertica/vertica-python"; 49 changelog = "https://github.com/vertica/vertica-python/releases/tag/${version}"; 50 license = licenses.asl20; 51 maintainers = with maintainers; [ arnoldfarkas ]; 52 }; 53}