1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, poetry 6, pytest-aiohttp 7, pytest-asyncio 8, pytest-cov 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "aioeafm"; 14 version = "1.0.0"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "Jc2k"; 19 repo = pname; 20 rev = version; 21 sha256 = "048cxn3fw2hynp27zlizq7k8ps67qq9sib1ddgirnxy5zc87vgkc"; 22 }; 23 24 nativeBuildInputs = [ poetry ]; 25 26 propagatedBuildInputs = [ aiohttp ]; 27 28 checkInputs = [ 29 pytest-aiohttp 30 pytest-asyncio 31 pytest-cov 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "aioeafm" ]; 36 37 meta = with lib; { 38 description = "Python client for access the Real Time flood monitoring API"; 39 homepage = "https://github.com/Jc2k/aioeafm"; 40 license = with licenses; [ asl20 ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}