python311Packages.google-cloud-os-config: refactor

This commit is contained in:
Fabian Affolter 2024-02-07 17:29:41 +01:00 committed by GitHub
parent ece0a74ac2
commit 2e8d0a8323
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,12 +7,13 @@
, pytestCheckHook
, pytest-asyncio
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-os-config";
version = "1.17.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -21,6 +22,10 @@ buildPythonPackage rec {
hash = "sha256-SrLT/0pYAjGpp+6Pi4d/ICCJoUsbXYe0Wht63s4UwOE=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
proto-plus
@ -45,8 +50,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud OS Config API client library";
homepage = "https://github.com/googleapis/python-os-config";
changelog = "https://github.com/googleapis/python-os-config/blob/v${version}/CHANGELOG.md";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-os-config";
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-os-config-v${version}/packages/google-cloud-os-config/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};