python3Packages.azure-mgmt-iotcentral: migrate to pyproject (#528504)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-10 23:10:02 +00:00
committed by GitHub
@@ -8,20 +8,25 @@
azure-mgmt-core,
azure-mgmt-nspkg,
isPy3k,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "azure-mgmt-iotcentral";
version = "9.0.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
extension = "zip";
sha256 = "64df73df449a6f3717f3d0963e5869224ed3e6216c79de571493bea7c1b52cb6";
hash = "sha256-ZN9z30SabzcX89CWPlhpIk7T5iFsed5XFJO+p8G1LLY=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
azure-common
azure-mgmt-core
msrest
@@ -32,10 +37,12 @@ buildPythonPackage rec {
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.iotcentral" ];
meta = {
description = "This is the Microsoft Azure IoTCentral Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}
})