Merge pull request #70055 from shahrukh330/shahrukh330/add-quobole-sdk

pythonPackages.qds_sdk: init at 1.12.0
This commit is contained in:
Wael Nasreddine 2019-10-01 12:16:40 -04:00 committed by GitHub
commit 7fae12010b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 0 deletions

View file

@ -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";

View file

@ -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 ];
};
}

View file

@ -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 { };