python3Packages.pytomorrowio: init at 0.2.1
This commit is contained in:
parent
58f707cf86
commit
e9055d047f
38
pkgs/development/python-modules/pytomorrowio/default.nix
Normal file
38
pkgs/development/python-modules/pytomorrowio/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user