From cbf1674f72f3128b870c81e989344c2e63ebfffe Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 21 May 2024 05:07:47 +0000 Subject: [PATCH 1/3] python311Packages.azure-mgmt-security: 6.0.0 -> 7.0.0 --- .../python-modules/azure-mgmt-security/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-security/default.nix b/pkgs/development/python-modules/azure-mgmt-security/default.nix index 60271f7c0381..eea1176be3fa 100644 --- a/pkgs/development/python-modules/azure-mgmt-security/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-security/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "azure-mgmt-security"; - version = "6.0.0"; + version = "7.0.0"; fpyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-zq/BhpiZBnEQvYMMXMmLybjzLY6oQMofaTsaX1Kl+LA="; + hash = "sha256-WRLu1+nTdY/cqNJuHcJrQZQ9xHAyCKEYQmbiwlLhrWY="; }; nativeBuildInputs = [ From 8d13b5ea99408f45a0781881ecb933e390ed2fd5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 21 May 2024 08:38:38 +0200 Subject: [PATCH 2/3] python312Packages.azure-mgmt-security: refactor --- .../python-modules/azure-mgmt-security/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-security/default.nix b/pkgs/development/python-modules/azure-mgmt-security/default.nix index eea1176be3fa..75f4f08bdcac 100644 --- a/pkgs/development/python-modules/azure-mgmt-security/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-security/default.nix @@ -20,11 +20,11 @@ buildPythonPackage rec { hash = "sha256-WRLu1+nTdY/cqNJuHcJrQZQ9xHAyCKEYQmbiwlLhrWY="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ azure-common azure-mgmt-core isodate @@ -40,7 +40,7 @@ buildPythonPackage rec { meta = with lib; { description = "Microsoft Azure Security Center Management Client Library for Python"; - homepage = "https://github.com/Azure/azure-sdk-for-python"; + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/security/azure-mgmt-security"; changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-security_${version}/sdk/security/azure-mgmt-security/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ jonringer ]; From e9208d701c2f3aae444cf3bad415fecf82c0db1f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 21 May 2024 08:39:11 +0200 Subject: [PATCH 3/3] python312Packages.azure-mgmt-security: format with nixfmt --- .../azure-mgmt-security/default.nix | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-security/default.nix b/pkgs/development/python-modules/azure-mgmt-security/default.nix index 75f4f08bdcac..e6e347513422 100644 --- a/pkgs/development/python-modules/azure-mgmt-security/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-security/default.nix @@ -1,11 +1,12 @@ -{ lib -, azure-common -, azure-mgmt-core -, buildPythonPackage -, fetchPypi -, isodate -, pythonOlder -, setuptools +{ + lib, + azure-common, + azure-mgmt-core, + buildPythonPackage, + fetchPypi, + isodate, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -20,9 +21,7 @@ buildPythonPackage rec { hash = "sha256-WRLu1+nTdY/cqNJuHcJrQZQ9xHAyCKEYQmbiwlLhrWY="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ azure-common