From 389adbf71dcfca7093338796bb087ccffe4d9755 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 19 Jan 2025 21:14:26 +0100 Subject: [PATCH] python3Packages.azure-mgmt-redhatopenshift: 1.5.0 -> 2.0.0 --- .../azure-mgmt-redhatopenshift/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-redhatopenshift/default.nix b/pkgs/development/python-modules/azure-mgmt-redhatopenshift/default.nix index 33ac1de82d77..2d7315b4f54d 100644 --- a/pkgs/development/python-modules/azure-mgmt-redhatopenshift/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-redhatopenshift/default.nix @@ -6,26 +6,29 @@ fetchPypi, isodate, pythonOlder, - typing-extensions, + setuptools, }: buildPythonPackage rec { pname = "azure-mgmt-redhatopenshift"; - version = "1.5.0"; - format = "setuptools"; + version = "2.0.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { - inherit pname version; - hash = "sha256-Uft0KcOciKzJ+ic9n4nxkwNSBmKZam19jhEiqY9fJSc="; + pname = "azure_mgmt_redhatopenshift"; + inherit version; + hash = "sha256-nTBKy7p8n0JWEmn3ByEKranHteoJkPJyLfYFmaCOOq4="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ isodate azure-common azure-mgmt-core - ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; + ]; pythonNamespaces = "azure.mgmt";