From 96cd39ecd8eaf9fba7215b50088375ced1d27861 Mon Sep 17 00:00:00 2001 From: Harinn Date: Thu, 4 Jun 2026 21:24:35 +0700 Subject: [PATCH] python3Packages.azure-mgmt-core: modernize --- .../python-modules/azure-mgmt-core/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-core/default.nix b/pkgs/development/python-modules/azure-mgmt-core/default.nix index 2dadc7e1c5a4..ab802204010e 100644 --- a/pkgs/development/python-modules/azure-mgmt-core/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-core/default.nix @@ -7,14 +7,16 @@ typing-extensions, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { + pname = "azure-mgmt-core"; version = "1.6.0"; pyproject = true; - pname = "azure-mgmt-core"; + + __structuredAttrs = true; src = fetchPypi { pname = "azure_mgmt_core"; - inherit version; + inherit (finalAttrs) version; extension = "tar.gz"; hash = "sha256-smIyr4V7Ah5h2BPZ9K5TBGUlXLELPd6UWtN0P3pY55w="; }; @@ -42,4 +44,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +})