python3Packages.azure-mgmt-redis: modernize

This commit is contained in:
Harinn
2026-06-05 10:47:46 +07:00
parent f39df46b05
commit c00c0bf720
@@ -8,13 +8,15 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "azure-mgmt-redis";
version = "14.5.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit version;
inherit (finalAttrs) version;
pname = "azure_mgmt_redis";
hash = "sha256-XDQ0yCSSaI4luTqvURPs/wuSt61toqT9RpVTD4KxUvo=";
};
@@ -35,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "This is the Microsoft Azure Redis Cache Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-redis_${version}/sdk/redis/azure-mgmt-redis/CHANGELOG.md";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-redis_${finalAttrs.version}/sdk/redis/azure-mgmt-redis/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}
})