python3Packages.google-cloud-securitycenter: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-06-08 21:53:45 +02:00
committed by GitHub
parent a108f9fa6f
commit 8b6e1c347f
@@ -11,14 +11,14 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "google-cloud-securitycenter";
version = "1.45.0";
pyproject = true;
src = fetchPypi {
pname = "google_cloud_securitycenter";
inherit version;
inherit (finalAttrs) version;
hash = "sha256-LG1O/I8MKL/39zrY0ODXFJz3XJ+MXQfHq8m3VVSWqyM=";
};
@@ -51,8 +51,8 @@ buildPythonPackage rec {
meta = {
description = "Cloud Security Command Center API API client library";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-securitycenter";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-securitycenter-v${version}/packages/google-cloud-securitycenter/CHANGELOG.md";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-securitycenter-v${finalAttrs.version}/packages/google-cloud-securitycenter/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
})