1{ lib, buildPythonPackage, fetchPypi, future, dateutil, six, pytest, mock, parameterized }:
2
3buildPythonPackage rec {
4 pname = "vertica-python";
5 version = "0.11.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "cceb39d081b8d1628956205642e740a9fabcfd2c6ecd982c51134fba8215d0bd";
10 };
11
12 propagatedBuildInputs = [ future dateutil six ];
13
14 checkInputs = [ pytest mock parameterized ];
15
16 # Integration tests require an accessible Vertica db
17 checkPhase = ''
18 pytest --ignore vertica_python/tests/integration_tests
19 '';
20
21 meta = with lib; {
22 description = "Native Python client for Vertica database";
23 homepage = "https://github.com/vertica/vertica-python";
24 license = licenses.asl20;
25 maintainers = [ maintainers.arnoldfarkas ];
26 };
27}