linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-shell / default.nix
blobaea6744cfd5e89d76f2e25bc8c996e480f90f716
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   google-api-core,
6   google-auth,
7   mock,
8   proto-plus,
9   protobuf,
10   pytest-asyncio,
11   pytestCheckHook,
12   pythonOlder,
13   setuptools,
16 buildPythonPackage rec {
17   pname = "google-cloud-shell";
18   version = "1.10.1";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     pname = "google_cloud_shell";
25     inherit version;
26     hash = "sha256-JgKBwyQ/KlLqtQtvpjal7+3IT7oS6HHmIsZ/amIEFRk=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     google-api-core
33     google-auth
34     proto-plus
35     protobuf
36   ] ++ google-api-core.optional-dependencies.grpc;
38   nativeCheckInputs = [
39     mock
40     pytest-asyncio
41     pytestCheckHook
42   ];
44   pythonImportsCheck = [
45     "google.cloud.shell"
46     "google.cloud.shell_v1"
47   ];
49   meta = with lib; {
50     description = "Python Client for Cloud Shell";
51     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-shell";
52     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-shell-v${version}/packages/google-cloud-shell/CHANGELOG.md";
53     license = licenses.asl20;
54     maintainers = with maintainers; [ fab ];
55   };