From d9037a3c430407495cdede52c1fd8a062b50ea14 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 26 Oct 2023 16:49:55 +0200 Subject: [PATCH] python311Packages.azure-mgmt-cdn: 12.0.0 -> 13.0.0 Changelog: https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cdn_13.0.0/sdk/cdn/azure-mgmt-cdn/CHANGELOG.md --- .../python-modules/azure-mgmt-cdn/default.nix | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-cdn/default.nix b/pkgs/development/python-modules/azure-mgmt-cdn/default.nix index 85220841e041..3b6c5fd88b7b 100644 --- a/pkgs/development/python-modules/azure-mgmt-cdn/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-cdn/default.nix @@ -1,31 +1,28 @@ { lib +, azure-common +, azure-mgmt-core , buildPythonPackage , fetchPypi -, msrest -, msrestazure -, azure-common -, azure-mgmt-nspkg -, azure-mgmt-core -, isPy3k +, isodate +, pythonOlder }: buildPythonPackage rec { pname = "azure-mgmt-cdn"; - version = "12.0.0"; + version = "13.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - extension = "zip"; - hash = "sha256-t8PuIYkjS0r1Gs4pJJJ8X9cz8950imQtbVBABnyMnd0="; + hash = "sha256-yJ8jTeT4Gu23YSHl5GZ0+zdlC3s+GIxS4ir8z/HBkA4="; }; propagatedBuildInputs = [ - msrest - msrestazure + isodate azure-common azure-mgmt-core - ] ++ lib.optionals (!isPy3k) [ - azure-mgmt-nspkg ]; # has no tests @@ -34,6 +31,7 @@ buildPythonPackage rec { meta = with lib; { description = "This is the Microsoft Azure CDN Management Client Library"; homepage = "https://github.com/Azure/azure-sdk-for-python"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cdn_${version}/sdk/cdn/azure-mgmt-cdn/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ maxwilson ]; };