1{ lib, 2 fetchFromGitHub, 3 buildPythonPackage, 4 boto, 5 inflection, 6 pytest, 7 mock, 8 requests, 9 six, 10 urllib3 }: 11 12buildPythonPackage rec { 13 pname = "qds_sdk"; 14 version = "1.16.1"; 15 16 # pypi does not contain tests, using github sources instead 17 src = fetchFromGitHub { 18 owner = "qubole"; 19 repo = "qds-sdk-py"; 20 rev = "V${version}"; 21 sha256 = "05c7g63rcvvi4fgkcfsxh2a6hwlffbs18dhki222s5rpc49wi8zi"; 22 }; 23 24 propagatedBuildInputs = [ 25 boto 26 inflection 27 requests 28 six 29 urllib3 30 ]; 31 32 checkInputs = [ pytest mock ]; 33 checkPhase = '' 34 py.test --disable-pytest-warnings tests 35 ''; 36 37 meta = with lib; { 38 description = "A Python module that provides the tools you need to authenticate with, and use the Qubole Data Service API"; 39 homepage = "https://github.com/qubole/qds-sdk-py"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ shahrukh330 ]; 42 }; 43}