Files
nixpkgs/pkgs/development/python-modules/vertica-python/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

54 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mock,
parameterized,
pytestCheckHook,
python-dateutil,
pythonOlder,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "vertica-python";
version = "1.4.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-VCB4ri/t7mlK3tsE2Bxu3Cd7h+10QDApQhB9hqC81EU=";
};
build-system = [ setuptools ];
dependencies = [
python-dateutil
six
];
nativeCheckInputs = [
mock
parameterized
pytestCheckHook
];
disabledTestPaths = [
# Integration tests require an accessible Vertica db
"vertica_python/tests/integration_tests"
];
pythonImportsCheck = [ "vertica_python" ];
meta = {
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 = lib.licenses.asl20;
maintainers = with lib.maintainers; [ arnoldfarkas ];
};
}