mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 00:14:43 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
44 lines
909 B
Nix
44 lines
909 B
Nix
{ lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
boto,
|
|
inflection,
|
|
pytest,
|
|
mock,
|
|
requests,
|
|
six,
|
|
urllib3 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qds_sdk";
|
|
version = "1.16.1";
|
|
|
|
# pypi does not contain tests, using github sources instead
|
|
src = fetchFromGitHub {
|
|
owner = "qubole";
|
|
repo = "qds-sdk-py";
|
|
rev = "V${version}";
|
|
sha256 = "05c7g63rcvvi4fgkcfsxh2a6hwlffbs18dhki222s5rpc49wi8zi";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
boto
|
|
inflection
|
|
requests
|
|
six
|
|
urllib3
|
|
];
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|