1{ lib 2, aiohttp 3, async-timeout 4, buildPythonPackage 5, fetchFromGitHub 6, pytz 7, xmltodict 8}: 9 10buildPythonPackage rec { 11 pname = "pymeteireann"; 12 version = "2021.8.0"; 13 14 src = fetchFromGitHub { 15 owner = "DylanGore"; 16 repo = "PyMetEireann"; 17 rev = version; 18 sha256 = "1xcfb3f2a2q99i8anpdzq8s743jgkk2a3rpar48b2dhs7l15rbsd"; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 async-timeout 24 pytz 25 xmltodict 26 ]; 27 28 # Project has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "meteireann" ]; 32 33 meta = with lib; { 34 description = "Python module to communicate with the Met Éireann Public Weather Forecast API"; 35 homepage = "https://github.com/DylanGore/PyMetEireann/"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}