depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-runtimeconfig/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

39 lines
924 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-cloud-core
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "google-cloud-runtimeconfig";
version = "0.32.4";
src = fetchPypi {
inherit pname version;
sha256 = "ee239455a5393b51018071678ec0f4cc58ddf0904390e9f317f704f158ab16ab";
};
propagatedBuildInputs = [ google-api-core google-cloud-core ];
checkInputs = [ mock pytestCheckHook ];
# Client tests require credentials
disabledTests = [ "client_options" ];
# prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
pythonImportsCheck = [ "google.cloud.runtimeconfig" ];
meta = with lib; {
description = "Google Cloud RuntimeConfig API client library";
homepage = "https://pypi.org/project/google-cloud-runtimeconfig";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}