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