depot/third_party/nixpkgs/pkgs/development/python-modules/qds_sdk/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

43 lines
907 B
Nix

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