From 8eef6e68f3cce03e8d30183f8db28cb485237724 Mon Sep 17 00:00:00 2001 From: Harinn Date: Thu, 4 Jun 2026 22:13:17 +0700 Subject: [PATCH] python3Packages.azure-mgmt-rdbms: modernize --- .../python-modules/azure-mgmt-rdbms/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix b/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix index b6f9abe873ef..1fc4634c1474 100644 --- a/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix @@ -11,13 +11,15 @@ isPy3k, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "azure-mgmt-rdbms"; version = "10.1.0"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; extension = "zip"; hash = "sha256-qH1AHIdshHNM3UiIr1UeShRhtLMo2YFq9gy4rFl58DU="; }; @@ -42,4 +44,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ maxwilson ]; }; -} +})