python312Packages.google-cloud-pubsub: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-05 10:31:25 +02:00
parent 8f8686780e
commit 891025a8a0

View File

@ -1,18 +1,19 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, google-api-core fetchPypi,
, google-cloud-testutils google-api-core,
, grpc-google-iam-v1 google-cloud-testutils,
, grpcio grpc-google-iam-v1,
, grpcio-status grpcio,
, libcst grpcio-status,
, proto-plus libcst,
, protobuf proto-plus,
, pytest-asyncio protobuf,
, pytestCheckHook pytest-asyncio,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -27,9 +28,7 @@ buildPythonPackage rec {
hash = "sha256-MfzwdES3+BOmFsS2UOH78dyZigiP4AWadhZIVawX8Fw="; hash = "sha256-MfzwdES3+BOmFsS2UOH78dyZigiP4AWadhZIVawX8Fw=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
google-api-core google-api-core
@ -42,9 +41,7 @@ buildPythonPackage rec {
] ++ google-api-core.optional-dependencies.grpc; ] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = { passthru.optional-dependencies = {
libcst = [ libcst = [ libcst ];
libcst
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -63,9 +60,7 @@ buildPythonPackage rec {
"tests/unit/pubsub_v1" "tests/unit/pubsub_v1"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "google.cloud.pubsub" ];
"google.cloud.pubsub"
];
meta = with lib; { meta = with lib; {
description = "Google Cloud Pub/Sub API client library"; description = "Google Cloud Pub/Sub API client library";