depot/third_party/nixpkgs/pkgs/development/python-modules/vertica-python/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

53 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, future
, mock
, parameterized
, pytestCheckHook
, python-dateutil
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "vertica-python";
version = "1.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NmTwYQwWzV1ga4u+XApQNZsel52Tg8B5Z7vUnUmQoC8=";
};
propagatedBuildInputs = [
future
python-dateutil
six
];
nativeCheckInputs = [
mock
parameterized
pytestCheckHook
];
disabledTestPaths = [
# Integration tests require an accessible Vertica db
"vertica_python/tests/integration_tests"
];
pythonImportsCheck = [
"vertica_python"
];
meta = with lib; {
description = "Native Python client for Vertica database";
homepage = "https://github.com/vertica/vertica-python";
changelog = "https://github.com/vertica/vertica-python/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ arnoldfarkas ];
};
}