Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
urllib3,
|
|
deprecation,
|
|
paho-mqtt,
|
|
requests,
|
|
requests-unixsocket2,
|
|
janus,
|
|
pysocks,
|
|
typing-extensions,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "azure-iot-device";
|
|
version = "2.14.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "azure_iot_device";
|
|
hash = "sha256-ttSNSTLCQAJXNqzlRMTnG8SaFXasmY6h3neK+CSW/84=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
urllib3
|
|
deprecation
|
|
paho-mqtt
|
|
requests
|
|
requests-unixsocket2
|
|
janus
|
|
pysocks
|
|
typing-extensions
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"azure.iot.device"
|
|
"azure.iot.device.aio"
|
|
];
|
|
|
|
meta = with lib; {
|
|
# https://github.com/Azure/azure-iot-sdk-python/issues/1196
|
|
broken = lib.versionAtLeast paho-mqtt.version "2";
|
|
description = "Microsoft Azure IoT Device Library for Python";
|
|
homepage = "https://github.com/Azure/azure-iot-sdk-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mikut ];
|
|
};
|
|
}
|