1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, aiohttp 6, pytest-aiohttp 7, pytest-asyncio 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "pytomorrowio"; 13 version = "0.3.5"; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-LFIQJJPqKlqLzEoX9ShfoASigPC5R+OWiW81VmjONe8="; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 ]; 25 26 checkInputs = [ 27 pytest-aiohttp 28 pytest-asyncio 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ 33 "pytomorrowio" 34 ]; 35 36 meta = { 37 description = "Async Python package to access the Tomorrow.io API"; 38 homepage = "https://github.com/raman325/pytomorrowio"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ dotlambda ]; 41 }; 42}