blob: d9541c08954bd6799549c3513a1fbdb57f1e8402 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
click,
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
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 ];
};
}
|