1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Merge pull request #290888 from fabaff/google-cloud

python311Packages.google-cloud-workflows: init at 1.14.2, python311Packages.google-cloud-shell: init at 1.9.2
This commit is contained in:
Fabian Affolter 2024-02-23 21:27:18 +01:00 committed by GitHub
commit 828f363892
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 351 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-netapp";
version = "0.3.6";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-rWsR95I4lXf/xEJ/0HLhTR6V8g46NzmU/PmkAi797rM=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.netapp"
"google.cloud.netapp_v1"
];
meta = with lib; {
description = "Python Client for NetApp API";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-netapp";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-netapp-v${version}/packages/google-cloud-netapp/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}

View file

@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-shell";
version = "1.9.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JLQea7+qWjomlQ1cbYJMou7u1eGwHNKgzqiUIUT0otY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.shell"
"google.cloud.shell_v1"
];
meta = with lib; {
description = "Python Client for Cloud Shell";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-shell";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-shell-v${version}/packages/google-cloud-shell/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-vpc-access";
version = "1.10.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-KFOyq/vpfNWaFpKJ0AAupVn3XiTP3V95x/5M6LkJtAQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.vpcaccess"
"google.cloud.vpcaccess_v1"
];
meta = with lib; {
description = "Python Client for Virtual Private Cloud";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-vpc-access";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-vpc-access-v${version}/packages/google-cloud-vpc-access/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,57 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-webrisk";
version = "1.14.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-5bRZRPVN6PtAI3yX5ogtxkDeHmz8mSE8ofz8k+VRLkY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.webrisk"
"google.cloud.webrisk_v1"
"google.cloud.webrisk_v1beta1"
];
meta = with lib; {
description = "Python Client for Web Risk";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-webrisk";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-webrisk-v${version}/packages/google-cloud-webrisk/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,55 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-workflows";
version = "1.14.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-L1gL3r+HzywvsbfWk28Rthwm8lqz0S9ekTcWUh8FcLM=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [
"google.cloud.workflows"
"google.cloud.workflows_v1"
"google.cloud.workflows_v1beta"
];
meta = with lib; {
description = "Python Client for Cloud Workflows";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-workflows";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-workflows-v${version}/packages/google-cloud-workflows/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,59 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-auth
, grpc-google-iam-v1
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-workstations";
version = "0.5.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-N6A+dpgQpVhCTor4FbjPAafyDsgB8pRrJcVGABpJCuE=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-auth
grpc-google-iam-v1
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.workstations"
"google.cloud.workstations_v1"
"google.cloud.workstations_v1beta"
];
meta = with lib; {
description = "Python Client for Cloud Workstations";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-workstations";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-workstations-v${version}/packages/google-cloud-workstations/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4790,6 +4790,8 @@ self: super: with self; {
google-cloud-monitoring = callPackage ../development/python-modules/google-cloud-monitoring { };
google-cloud-netapp = callPackage ../development/python-modules/google-cloud-netapp { };
google-cloud-org-policy = callPackage ../development/python-modules/google-cloud-org-policy { };
google-cloud-os-config = callPackage ../development/python-modules/google-cloud-os-config { };
@ -4806,6 +4808,8 @@ self: super: with self; {
google-cloud-securitycenter = callPackage ../development/python-modules/google-cloud-securitycenter { };
google-cloud-shell = callPackage ../development/python-modules/google-cloud-shell { };
google-cloud-spanner = callPackage ../development/python-modules/google-cloud-spanner { };
google-cloud-speech = callPackage ../development/python-modules/google-cloud-speech { };
@ -4826,8 +4830,16 @@ self: super: with self; {
google-cloud-vision = callPackage ../development/python-modules/google-cloud-vision { };
google-cloud-vpc-access = callPackage ../development/python-modules/google-cloud-vpc-access { };
google-cloud-webrisk = callPackage ../development/python-modules/google-cloud-webrisk { };
google-cloud-websecurityscanner = callPackage ../development/python-modules/google-cloud-websecurityscanner { };
google-cloud-workflows = callPackage ../development/python-modules/google-cloud-workflows { };
google-cloud-workstations = callPackage ../development/python-modules/google-cloud-workstations { };
google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { };
google-crc32c = callPackage ../development/python-modules/google-crc32c {