Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 903 B view raw
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.15.2"; 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 = "0xxg9s0y6fz7vb1kab4q93q7ryi71z8x6q9qspm6s506yr3mc67l"; 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}