1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, setuptools
5, boto
6, inflection
7, requests
8, six
9, urllib3
10, mock
11, pytestCheckHook
12}:
13
14buildPythonPackage rec {
15 pname = "qds-sdk";
16 version = "1.16.1";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "qubole";
21 repo = "qds-sdk-py";
22 rev = "refs/tags/V${version}";
23 hash = "sha256-8aPIE2E3Fy2EiBM2FPRyjnJolIBdOzafI3Fvlod5hxU=";
24 };
25
26 nativeBuildInputs = [
27 setuptools
28 ];
29
30 propagatedBuildInputs = [
31 boto
32 inflection
33 requests
34 six
35 urllib3
36 ];
37
38 nativeCheckInputs = [ pytestCheckHook mock ];
39
40 pythonImportsCheck = [
41 "qds_sdk"
42 ];
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}