Merge pull request #292384 from fabaff/google-cloud-kms-bump

python311Packages.google-cloud-kms: 2.20.0 -> 2.21.2

authored by Fabian Affolter and committed by GitHub 660c521f c45e6f9d

+13 -6
+13 -6
pkgs/development/python-modules/google-cloud-kms/default.nix
··· 9 9 , pytest-asyncio 10 10 , pytestCheckHook 11 11 , pythonOlder 12 + , setuptools 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "google-cloud-kms"; 16 - version = "2.19.2"; 17 - format = "setuptools"; 17 + version = "2.21.2"; 18 + pyproject = true; 18 19 19 20 disabled = pythonOlder "3.7"; 20 21 21 22 src = fetchPypi { 22 23 inherit pname version; 23 - hash = "sha256-F6UDRZLoXvADHSW75YlL2y1xlGCFWYC/62iqTo/8Er0="; 24 + hash = "sha256-8GrZ38gBVE+6EYN4i5ZPawF0g6Zgkapoa1Gr0HSAbIQ="; 24 25 }; 25 26 27 + nativeBuildInputs = [ 28 + setuptools 29 + ]; 30 + 26 31 propagatedBuildInputs = [ 27 32 grpc-google-iam-v1 28 33 google-api-core ··· 36 41 pytestCheckHook 37 42 ]; 38 43 39 - # Disable tests that need credentials 40 44 disabledTests = [ 45 + # Disable tests that need credentials 41 46 "test_list_global_key_rings" 47 + # Tests require PROJECT_ID 48 + "test_list_ekm_connections" 42 49 ]; 43 50 44 51 pythonImportsCheck = [ ··· 48 55 49 56 meta = with lib; { 50 57 description = "Cloud Key Management Service (KMS) API API client library"; 51 - homepage = "https://github.com/googleapis/python-kms"; 52 - changelog = "https://github.com/googleapis/python-kms/blob/v${version}/CHANGELOG.md"; 58 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-kms"; 59 + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-kms-v${version}/packages/google-cloud-kms/CHANGELOG.md"; 53 60 license = licenses.asl20; 54 61 maintainers = with maintainers; [ ]; 55 62 };