Unverified Commit 0ebdfbd4 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #121853 from fabaff/pymeteireann

python3Packages.pymeteireann: init at 0.2
parents 79752e23 d79f7192
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -306,6 +306,7 @@ in with py.pkgs; buildPythonApplication rec {
    "media_player"
    "media_source"
    "met"
    "met_eireann"
    "minecraft_server"
    "mobile_app"
    "modbus"
+2 −0
Original line number Diff line number Diff line
@@ -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 { };