mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #121853 from fabaff/pymeteireann
python3Packages.pymeteireann: init at 0.2
This commit is contained in:
commit
0ebdfbd43a
39
pkgs/development/python-modules/pymeteireann/default.nix
Normal file
39
pkgs/development/python-modules/pymeteireann/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -306,6 +306,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"media_player"
|
||||
"media_source"
|
||||
"met"
|
||||
"met_eireann"
|
||||
"minecraft_server"
|
||||
"mobile_app"
|
||||
"modbus"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user