mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
python312Packages.presto-python-client: init at 0.8.4
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user