python3Packages.pymeteireann: init at 0.2

This commit is contained in:
Fabian Affolter 2021-05-06 20:10:32 +02:00
parent dfacb8329b
commit a6252afa36
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pytz
, xmltodict
}:
buildPythonPackage rec {
pname = "pymeteireann";
version = "0.2";
src = fetchFromGitHub {
owner = "DylanGore";
repo = "PyMetEireann";
rev = version;
sha256 = "1904f8mvv4ghzbniswmdwyj5v71m6y3yn1b4grjvfds05skalm67";
};
propagatedBuildInputs = [
aiohttp
async-timeout
pytz
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "meteireann" ];
meta = with lib; {
description = "Python module to communicate with the Met Éireann Public Weather Forecast API";
homepage = "https://github.com/DylanGore/PyMetEireann/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5769,6 +5769,8 @@ in {
pymetar = callPackage ../development/python-modules/pymetar { };
pymeteireann = callPackage ../development/python-modules/pymeteireann { };
pymetno = callPackage ../development/python-modules/pymetno { };
pymitv = callPackage ../development/python-modules/pymitv { };