1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, async-timeout 6}: 7 8buildPythonPackage rec { 9 pname = "opensensemap-api"; 10 version = "0.1.6"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-e60aVIoKFqo++WJHUYGutugkjB8YgyNQgJbILgAyOOY="; 15 }; 16 17 propagatedBuildInputs = [ 18 aiohttp 19 async-timeout 20 ]; 21 22 # no tests are present 23 doCheck = false; 24 25 pythonImportsCheck = [ "opensensemap_api" ]; 26 27 meta = with lib; { 28 description = "OpenSenseMap API Python client"; 29 longDescription = '' 30 Python Client for interacting with the openSenseMap API. All 31 available information from the sensor can be retrieved. 32 ''; 33 homepage = "https://github.com/home-assistant-ecosystem/python-opensensemap-api"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}