python3Packages.pytomorrowio: init at 0.2.1

This commit is contained in:
Robert Schütz 2022-04-17 17:01:45 +00:00
parent 58f707cf86
commit e9055d047f
2 changed files with 40 additions and 0 deletions

View file

@ -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 ];
};
}

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 { };