diff options
author | Shahrukh Khan <shahrukh@Shahrukhs-MacBook-Pro.local> | 2019-10-01 20:38:59 +0500 |
---|---|---|
committer | Shahrukh Khan <shahrukh@Shahrukhs-MacBook-Pro.local> | 2019-10-01 20:38:59 +0500 |
commit | f2a1d489898e9c404704bdcef26dbcc7343ae28d (patch) | |
tree | 1835bef1c10ffe8e3500d7e7673a3fc604c62d5b /pkgs/development/python-modules/qds_sdk | |
parent | e082fe47b7fea832de1d490f22f09bd709951cc1 (diff) |
pythonPackages.qds_sdk: init at 1.12.0
Diffstat (limited to 'pkgs/development/python-modules/qds_sdk')
-rw-r--r-- | pkgs/development/python-modules/qds_sdk/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/qds_sdk/default.nix b/pkgs/development/python-modules/qds_sdk/default.nix new file mode 100644 index 0000000000000..7b4cfa501ddf8 --- /dev/null +++ b/pkgs/development/python-modules/qds_sdk/default.nix @@ -0,0 +1,43 @@ +{ lib, + fetchFromGitHub, + buildPythonPackage, + boto, + inflection, + pytest, + mock, + requests, + six, + urllib3 }: + +buildPythonPackage rec { + pname = "qds_sdk"; + version = "1.12.0"; + + # pypi does not contain tests, using github sources instead + src = fetchFromGitHub { + owner = "qubole"; + repo = "qds-sdk-py"; + rev = "V${version}"; + sha256 = "18xhvlcfki8llv7fw2r5yfk20zds3gr78b4klwm9mkvhlhwds9rx"; + }; + + propagatedBuildInputs = [ + boto + inflection + requests + six + urllib3 + ]; + + checkInputs = [ pytest mock ]; + checkPhase = '' + py.test --disable-pytest-warnings tests + ''; + + meta = with lib; { + description = "A Python module that provides the tools you need to authenticate with, and use the Qubole Data Service API"; + homepage = "https://github.com/qubole/qds-sdk-py"; + license = licenses.asl20; + maintainers = with maintainers; [ shahrukh330 ]; + }; +} |