Merge pull request #121853 from fabaff/pymeteireann

python3Packages.pymeteireann: init at 0.2
This commit is contained in:
Martin Weinelt 2021-05-10 20:09:14 +02:00 committed by GitHub
commit 0ebdfbd43a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 1 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

@ -495,7 +495,7 @@
"meraki" = ps: with ps; [ aiohttp-cors ];
"message_bird" = ps: with ps; [ ]; # missing inputs: messagebird
"met" = ps: with ps; [ pymetno ];
"met_eireann" = ps: with ps; [ ]; # missing inputs: pyMetEireann
"met_eireann" = ps: with ps; [ pymeteireann ];
"meteo_france" = ps: with ps; [ ]; # missing inputs: meteofrance-api
"meteoalarm" = ps: with ps; [ ]; # missing inputs: meteoalertapi
"metoffice" = ps: with ps; [ ]; # missing inputs: datapoint

View File

@ -306,6 +306,7 @@ in with py.pkgs; buildPythonApplication rec {
"media_player"
"media_source"
"met"
"met_eireann"
"minecraft_server"
"mobile_app"
"modbus"

View File

@ -5809,6 +5809,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 { };