Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / vertica-python / default.nix
blob26660fec990ab49b1a67656d39eacdfd094ecc9a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , future
5 , mock
6 , parameterized
7 , pytestCheckHook
8 , python-dateutil
9 , pythonOlder
10 , six
13 buildPythonPackage rec {
14   pname = "vertica-python";
15   version = "1.3.6";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-LLlaLP9NgzpJyxsEGPd7sdcVX/qXY8mO3ZQNm39gocM=";
23   };
25   propagatedBuildInputs = [
26     future
27     python-dateutil
28     six
29   ];
31   nativeCheckInputs = [
32     mock
33     parameterized
34     pytestCheckHook
35   ];
37   disabledTestPaths = [
38     # Integration tests require an accessible Vertica db
39     "vertica_python/tests/integration_tests"
40   ];
42   pythonImportsCheck = [
43     "vertica_python"
44   ];
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   };