python3Packages.ibmiotf: init at 0.4.0 (#437800)

This commit is contained in:
Martin Weinelt
2025-08-28 21:57:25 +02:00
committed by GitHub
3 changed files with 58 additions and 1 deletions
@@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
iso8601,
pytz,
paho-mqtt,
requests,
requests-toolbelt,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ibmiotf";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ibm-watson-iot";
repo = "iot-python";
tag = version;
hash = "sha256-/hRRYf3mY7LqZq0jq7neJRwpvgKczHNNo5bN92Rcv5M=";
};
build-system = [
setuptools
];
dependencies = [
iso8601
pytz
paho-mqtt
requests
requests-toolbelt
];
nativeCheckInputs = [
pytestCheckHook
];
# Tests require network access and IBM Watson IoT Platform credentials
doCheck = false;
pythonImportsCheck = [ "ibmiotf" ];
meta = {
description = "Python Client for IBM Watson IoT Platform";
homepage = "https://github.com/ibm-watson-iot/iot-python";
changelog = "https://github.com/ibm-watson-iot/iot-python/releases/tag/${version}";
license = lib.licenses.epl10;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -6520,7 +6520,8 @@
];
"watson_iot" =
ps: with ps; [
]; # missing inputs: ibmiotf
ibmiotf
];
"watttime" =
ps: with ps; [
aiowatttime
+2
View File
@@ -6862,6 +6862,8 @@ self: super: with self; {
ibm-watson = callPackage ../development/python-modules/ibm-watson { };
ibmiotf = callPackage ../development/python-modules/ibmiotf { };
ical = callPackage ../development/python-modules/ical { };
icalendar = callPackage ../development/python-modules/icalendar { };