From 53909bb27146a50eb86dac36877b34c4b3b53ba4 Mon Sep 17 00:00:00 2001 From: Harinn Date: Wed, 3 Jun 2026 21:37:11 +0700 Subject: [PATCH 1/2] python3Packages.azure-containerregistry: migrate to pyproject --- .../python-modules/azure-containerregistry/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-containerregistry/default.nix b/pkgs/development/python-modules/azure-containerregistry/default.nix index e33ba8e4a185..ee55b30867da 100644 --- a/pkgs/development/python-modules/azure-containerregistry/default.nix +++ b/pkgs/development/python-modules/azure-containerregistry/default.nix @@ -6,12 +6,13 @@ msrest, msrestazure, isodate, + setuptools, }: buildPythonPackage rec { pname = "azure-containerregistry"; version = "1.2.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; @@ -19,7 +20,9 @@ buildPythonPackage rec { extension = "zip"; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ azure-core msrest msrestazure From 76af6810a79a80d5488a223d6cb48ce79305b779 Mon Sep 17 00:00:00 2001 From: Harinn Date: Wed, 3 Jun 2026 21:40:16 +0700 Subject: [PATCH 2/2] python3Packages.azure-containerregistry: convert to finalAttrs --- .../python-modules/azure-containerregistry/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/azure-containerregistry/default.nix b/pkgs/development/python-modules/azure-containerregistry/default.nix index ee55b30867da..fedffb65f7cb 100644 --- a/pkgs/development/python-modules/azure-containerregistry/default.nix +++ b/pkgs/development/python-modules/azure-containerregistry/default.nix @@ -9,13 +9,13 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "azure-containerregistry"; version = "1.2.0"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-Ss0ygh0IZVPqvV3f7Lsh+5FbXRPvg3XRWvyyyAvclqM="; extension = "zip"; }; @@ -43,4 +43,4 @@ buildPythonPackage rec { homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry"; license = lib.licenses.mit; }; -} +})