Loading pkgs/development/python-modules/google-cloud-spanner/default.nix +16 −8 Original line number Diff line number Diff line Loading @@ -19,14 +19,14 @@ # optional dependencies libcst, # testing google-cloud-monitoring, mmh3, mock, opentelemetry-api, opentelemetry-sdk, opentelemetry-semantic-conventions, google-cloud-monitoring, mmh3, # testing mock, pytest-asyncio, pytestCheckHook, }: Loading Loading @@ -54,10 +54,18 @@ buildPythonPackage rec { proto-plus protobuf sqlparse ] ++ google-api-core.optional-dependencies.grpc; ]; optional-dependencies = { libcst = [ libcst ]; tracing = [ opentelemetry-api opentelemetry-sdk opentelemetry-semantic-conventions # opentelemetry-resourcedetector-gcp # Not available in nixpkgs google-cloud-monitoring mmh3 ]; }; nativeCheckInputs = [ Loading @@ -70,7 +78,7 @@ buildPythonPackage rec { opentelemetry-semantic-conventions pytest-asyncio pytestCheckHook ]; ] ++ lib.flatten (lib.attrValues optional-dependencies); preCheck = '' # prevent google directory from shadowing google imports Loading Loading @@ -117,7 +125,7 @@ buildPythonPackage rec { meta = { description = "Cloud Spanner API client library"; homepage = "https://github.com/googleapis/python-spanner"; changelog = "https://github.com/googleapis/python-spanner/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/googleapis/python-spanner/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; Loading Loading
pkgs/development/python-modules/google-cloud-spanner/default.nix +16 −8 Original line number Diff line number Diff line Loading @@ -19,14 +19,14 @@ # optional dependencies libcst, # testing google-cloud-monitoring, mmh3, mock, opentelemetry-api, opentelemetry-sdk, opentelemetry-semantic-conventions, google-cloud-monitoring, mmh3, # testing mock, pytest-asyncio, pytestCheckHook, }: Loading Loading @@ -54,10 +54,18 @@ buildPythonPackage rec { proto-plus protobuf sqlparse ] ++ google-api-core.optional-dependencies.grpc; ]; optional-dependencies = { libcst = [ libcst ]; tracing = [ opentelemetry-api opentelemetry-sdk opentelemetry-semantic-conventions # opentelemetry-resourcedetector-gcp # Not available in nixpkgs google-cloud-monitoring mmh3 ]; }; nativeCheckInputs = [ Loading @@ -70,7 +78,7 @@ buildPythonPackage rec { opentelemetry-semantic-conventions pytest-asyncio pytestCheckHook ]; ] ++ lib.flatten (lib.attrValues optional-dependencies); preCheck = '' # prevent google directory from shadowing google imports Loading Loading @@ -117,7 +125,7 @@ buildPythonPackage rec { meta = { description = "Cloud Spanner API client library"; homepage = "https://github.com/googleapis/python-spanner"; changelog = "https://github.com/googleapis/python-spanner/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/googleapis/python-spanner/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; }; Loading