From b918d10c29a3420d9c79543010ef760ea3f45592 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 11 Jan 2025 21:37:47 +0100 Subject: [PATCH] python312Packages.azure-mgmt-cognitiveservices: 13.5.0 -> 13.6.0 Changelog: https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cognitiveservices_13.6.0/sdk/cognitiveservices/azure-mgmt-cognitiveservices/CHANGELOG.md --- .../azure-mgmt-cognitiveservices/default.nix | 32 ++++++++++++------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix index a4052e739880..97a4b3ad0815 100644 --- a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix @@ -1,38 +1,46 @@ { lib, - buildPythonPackage, - fetchPypi, azure-common, azure-mgmt-core, - msrestazure, + buildPythonPackage, + fetchPypi, + isodate, pythonOlder, + setuptools, + typing-extensions, }: buildPythonPackage rec { pname = "azure-mgmt-cognitiveservices"; - version = "13.5.0"; - format = "setuptools"; + version = "13.6.0"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchPypi { - inherit pname version; - extension = "zip"; - hash = "sha256-RK8LGbH4J+nN6gnGBUweZgkqUcMrwe9aVtvZtAvFeBU="; + pname = "azure_mgmt_cognitiveservices"; + inherit version; + hash = "sha256-YS5W956CT4HVkM/wwJJTNYraBl1aYWnBOQX8NQZNm0A="; }; - propagatedBuildInputs = [ - msrestazure + build-system = [ setuptools ]; + + dependencies = [ azure-common azure-mgmt-core + isodate + typing-extensions ]; # Module has no tests doCheck = false; + pythonImportsCheck = [ "azure.mgmt.cognitiveservices" ]; + meta = with lib; { description = "This is the Microsoft Azure Cognitive Services Management Client Library"; - homepage = "https://github.com/Azure/azure-sdk-for-python"; + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-mgmt-cognitiveservices"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cognitiveservices_${version}/sdk/cognitiveservices/azure-mgmt-cognitiveservices/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ maxwilson ]; };