depot/third_party/nixpkgs/pkgs/development/python-modules/vertica-python/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

52 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
future,
mock,
parameterized,
pytestCheckHook,
python-dateutil,
pythonOlder,
six,
}:
buildPythonPackage rec {
pname = "vertica-python";
version = "1.3.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-5SuJT8Mu/4MnAmTWb9TL5b0f0Hug2n70X5BhZME2vrw=";
};
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 ];
};
}