depot/third_party/nixpkgs/pkgs/development/python-modules/vertica-python/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

53 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, future
, mock
, parameterized
, pytestCheckHook
, python-dateutil
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "vertica-python";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-zfeXJJL5pWzv9y39MWHYZggBRBAPGJItUKKaxp8MlRM=";
};
propagatedBuildInputs = [
future
python-dateutil
six
];
checkInputs = [
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 ];
};
}