python313Packages.azure-mgmt-iothub: 3.0.0 -> 4.0.0

Changelog: https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-iothub_4.0.0/sdk/iothub/azure-mgmt-iothub/CHANGELOG.md
This commit is contained in:
Fabian Affolter 2025-08-13 10:50:21 +02:00
parent 529c4b105f
commit 58bb2ab9a5

View File

@ -6,27 +6,29 @@
fetchPypi, fetchPypi,
isodate, isodate,
pythonOlder, pythonOlder,
typing-extensions, setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-iothub"; pname = "azure-mgmt-iothub";
version = "3.0.0"; version = "4.0.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.11";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "azure_mgmt_iothub";
hash = "sha256-2vIfyYxoo1PsYWMYwOYr4EyNaJmWC+jCy/mRZzrItyI="; inherit version;
hash = "sha256-B/Jb1vZzdLqxfMEZL5+SGzUONWAlHxkGnmZlg1Qe1Ng=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
azure-common azure-common
azure-mgmt-core azure-mgmt-core
isodate isodate
] ];
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
# Module has no tests # Module has no tests
doCheck = false; doCheck = false;
@ -35,7 +37,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "This is the Microsoft Azure IoTHub Management Client Library"; description = "This is the Microsoft Azure IoTHub Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python"; homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/iothub/azure-mgmt-iothub";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-iothub_${version}/sdk/iothub/azure-mgmt-iothub/CHANGELOG.md"; changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-iothub_${version}/sdk/iothub/azure-mgmt-iothub/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ maxwilson ]; maintainers = with maintainers; [ maxwilson ];