python3Packages.ha-iotwattpy: init at 0.1.2 (#423117)

This commit is contained in:
Martin Weinelt
2025-07-07 17:01:33 +02:00
committed by GitHub
4 changed files with 14 additions and 8 deletions
@@ -4,20 +4,23 @@
fetchPypi,
httpx,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "iotawattpy";
version = "0.1.0";
format = "setuptools";
pname = "ha-iotawattpy";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "1pyxm87lvd6zy0rx7r9jivk2li267r3xr0b9p6vf0v0vp9fmgsw3";
hash = "sha256-eMsBEbmENjbJME9Gzo4O9LbGo1i0MP0IuwLUAYqxbI8=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [ httpx ];
# Project doesn't tag releases or ship the tests with PyPI
@@ -27,7 +30,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "iotawattpy" ];
meta = with lib; {
description = "Python interface for the IoTaWatt device";
description = "Python library for the IoTaWatt Energy device";
homepage = "https://github.com/gtdiehl/iotawattpy";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
@@ -2734,7 +2734,8 @@
];
"iotawatt" =
ps: with ps; [
]; # missing inputs: ha-iotawattpy
ha-iotawattpy
];
"iotty" =
ps: with ps; [
iottycloud
@@ -7181,6 +7182,7 @@
"intent_script"
"iometer"
"ios"
"iotawatt"
"iotty"
"ipma"
"ipp"
+1
View File
@@ -338,6 +338,7 @@ mapAliases ({
imgaug = throw "imgaug has been removed as it is no longer maintained"; # added 2023-07-10
imgtool = throw "imgtool has been promoted to a top-level attribute name: `mcuboot-imgtool`"; # added 2024-10-09
intreehook = throw "intreehooks has been removed because it is obsolete as a backend-path key was added to PEP 517"; # added 2023-04-11
iotawattpy = ha-iotawattpy; # added 2025-07-06
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
ipdbplugin = throw "ipdbplugin has been removed because it has no longer maintained for 6 years"; # added 2024-05-21
ipython_genutils = ipython-genutils; # added 2023-10-12
+2 -2
View File
@@ -6328,6 +6328,8 @@ self: super: with self; {
ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };
ha-iotawattpy = callPackage ../development/python-modules/ha-iotawattpy { };
ha-mqtt-discoverable = callPackage ../development/python-modules/ha-mqtt-discoverable { };
ha-philipsjs = callPackage ../development/python-modules/ha-philipsjs { };
@@ -7040,8 +7042,6 @@ self: super: with self; {
iosbackup = callPackage ../development/python-modules/iosbackup { };
iotawattpy = callPackage ../development/python-modules/iotawattpy { };
iottycloud = callPackage ../development/python-modules/iottycloud { };
iowait = callPackage ../development/python-modules/iowait { };