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.1.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-3t9W12tnZztNV6E/f5br3FeznqZQuT6/DAXrbR0sDAU="; 23 }; 24 25 propagatedBuildInputs = [ 26 future 27 python-dateutil 28 six 29 ]; 30 31 checkInputs = [ 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 license = licenses.asl20; 50 maintainers = with maintainers; [ arnoldfarkas ]; 51 }; 52}