diff options
author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2019-10-01 12:16:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 12:16:40 -0400 |
commit | 7fae12010be573a7951fabdbea9d18b454fceb67 (patch) | |
tree | 19471b1f1f8ef13daf0862c33695425b773ca734 | |
parent | 8613b37f132bdd1614b8db47a230d50bdc6e5728 (diff) | |
parent | f2a1d489898e9c404704bdcef26dbcc7343ae28d (diff) | |
download | nixpkgs-7fae12010be573a7951fabdbea9d18b454fceb67.tar nixpkgs-7fae12010be573a7951fabdbea9d18b454fceb67.tar.gz nixpkgs-7fae12010be573a7951fabdbea9d18b454fceb67.tar.bz2 nixpkgs-7fae12010be573a7951fabdbea9d18b454fceb67.tar.lz nixpkgs-7fae12010be573a7951fabdbea9d18b454fceb67.tar.xz nixpkgs-7fae12010be573a7951fabdbea9d18b454fceb67.tar.zst nixpkgs-7fae12010be573a7951fabdbea9d18b454fceb67.zip |
Merge pull request #70055 from shahrukh330/shahrukh330/add-quobole-sdk
pythonPackages.qds_sdk: init at 1.12.0
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/development/python-modules/qds_sdk/default.nix | 43 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
3 files changed, 51 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d9a8d931590..d5f35c05508 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5818,6 +5818,12 @@ githubId = 1151264; name = "Sebastian Graf"; }; + shahrukh330 = { + email = "shahrukh330@gmail.com"; + github = "shahrukh330"; + githubId = 1588288; + name = "Shahrukh Khan"; + }; shanemikel = { email = "shanemikel1@gmail.com"; github = "shanemikel"; 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 00000000000..7b4cfa501dd --- /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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4a19c606036..16ccb980b4e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4689,6 +4689,8 @@ in { qdarkstyle = callPackage ../development/python-modules/qdarkstyle { }; + qds_sdk = callPackage ../development/python-modules/qds_sdk { }; + quamash = callPackage ../development/python-modules/quamash { }; quandl = callPackage ../development/python-modules/quandl { }; |