python312Packages.presto-python-client: init at 0.8.4

This commit is contained in:
Johan Herland
2025-07-02 12:02:43 +00:00
parent ce557ce4ac
commit 80efdaba5b
2 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
click,
future,
httpretty,
pytestCheckHook,
requests,
requests-kerberos,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "presto-python-client";
version = "0.8.4";
pyproject = true;
src = fetchFromGitHub {
owner = "prestodb";
repo = "presto-python-client";
tag = version;
hash = "sha256-ZpVcmX6jRu4PJ1RxtIR8i0EpfhhhP8HZVVkB7CWLrsM=";
};
build-system = [ setuptools ];
dependencies = [
click
future
requests
requests-kerberos
six
];
nativeCheckInputs = [
pytestCheckHook
httpretty
];
# Integration tests require network access
disabledTestPaths = [ "integration_tests" ];
pythonImportsCheck = [ "prestodb" ];
meta = {
description = "Client for Presto (https://prestodb.io), a distributed SQL engine for interactive and batch big data processing";
homepage = "https://github.com/prestodb/presto-python-client";
changelog = "https://github.com/prestodb/presto-python-client/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jherland ];
};
}

View File

@@ -11775,6 +11775,8 @@ self: super: with self; {
preshed = callPackage ../development/python-modules/preshed { };
presto-python-client = callPackage ../development/python-modules/presto-python-client { };
pretend = callPackage ../development/python-modules/pretend { };
pretty-errors = callPackage ../development/python-modules/pretty-errors { };