Merge pull request #169081 from dotlambda/pytomorrowio-init

This commit is contained in:
Martin Weinelt
2022-04-17 20:08:26 +02:00
committed by GitHub
4 changed files with 47 additions and 2 deletions
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, aiohttp
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytomorrowio";
version = "0.2.1";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "aabb41436fb5834b687d73b334d95be07a18d5943d27a1fd06271b749558ba0e";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pytomorrowio" ];
meta = {
description = "Async Python package to access the Tomorrow.io API";
homepage = "https://github.com/raman325/pytomorrowio";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
@@ -382,7 +382,8 @@
];
"climacell" = ps: with ps; [
pyclimacell
]; # missing inputs: pytomorrowio
pytomorrowio
];
"climate" = ps: with ps; [
];
"cloud" = ps: with ps; [
@@ -2696,7 +2697,8 @@
"tomato" = ps: with ps; [
];
"tomorrowio" = ps: with ps; [
]; # missing inputs: pytomorrowio
pytomorrowio
];
"toon" = ps: with ps; [
pyturbojpeg
aiohttp-cors
@@ -3191,6 +3193,7 @@
"canary"
"cast"
"cert_expiry"
"climacell"
"climate"
"cloud"
"cloudflare"
@@ -3642,6 +3645,7 @@
"todoist"
"tolo"
"tomato"
"tomorrowio"
"toon"
"totalconnect"
"tplink"
+1
View File
@@ -14,6 +14,7 @@ let
lovelace = [ PyChromecast ];
nest = [ av ];
onboarding = [ pymetno radios rpi-bad-power ];
tomorrowio = [ pyclimacell ];
version = [ aioaseko ];
voicerss = [ mutagen ];
yandextts = [ mutagen ];
+2
View File
@@ -6374,6 +6374,8 @@ in {
pythonfinder = callPackage ../development/python-modules/pythonfinder { };
pytomorrowio = callPackage ../development/python-modules/pytomorrowio { };
pyutil = callPackage ../development/python-modules/pyutil { };
pyzbar = callPackage ../development/python-modules/pyzbar { };