Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-workflows / default.nix
blobbc54419923f332cec28aa6c22ccc8b0c4eb24038
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , mock
6 , proto-plus
7 , protobuf
8 , pytest-asyncio
9 , pytestCheckHook
10 , pythonOlder
11 , setuptools
14 buildPythonPackage rec {
15   pname = "google-cloud-workflows";
16   version = "1.14.3";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-IUC5f3gDe5Z9QYVXaIZ3L+F7530q6ZltIHozTtWnf/4=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     google-api-core
32     proto-plus
33     protobuf
34   ] ++ google-api-core.optional-dependencies.grpc;
36   nativeCheckInputs = [
37     mock
38     pytestCheckHook
39     pytest-asyncio
40   ];
42   pythonImportsCheck = [
43     "google.cloud.workflows"
44     "google.cloud.workflows_v1"
45     "google.cloud.workflows_v1beta"
46   ];
48   meta = with lib; {
49     description = "Python Client for Cloud Workflows";
50     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-workflows";
51     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-workflows-v${version}/packages/google-cloud-workflows/CHANGELOG.md";
52     license = licenses.asl20;
53     maintainers = with maintainers; [ fab ];
54   };