1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 boto,
7 inflection,
8 requests,
9 six,
10 urllib3,
11 mock,
12 pytestCheckHook,
13}:
14
15buildPythonPackage rec {
16 pname = "qds-sdk";
17 version = "1.16.1";
18 pyproject = true;
19
20 src = fetchFromGitHub {
21 owner = "qubole";
22 repo = "qds-sdk-py";
23 rev = "refs/tags/V${version}";
24 hash = "sha256-8aPIE2E3Fy2EiBM2FPRyjnJolIBdOzafI3Fvlod5hxU=";
25 };
26
27 nativeBuildInputs = [ setuptools ];
28
29 propagatedBuildInputs = [
30 boto
31 inflection
32 requests
33 six
34 urllib3
35 ];
36
37 nativeCheckInputs = [
38 pytestCheckHook
39 mock
40 ];
41
42 pythonImportsCheck = [ "qds_sdk" ];
43
44 meta = with lib; {
45 description = "A Python module that provides the tools you need to authenticate with, and use the Qubole Data Service API";
46 homepage = "https://github.com/qubole/qds-sdk-py";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ shahrukh330 ];
49 mainProgram = "qds.py";
50 };
51}