Merge pull request #215800 from fabaff/pyoutbreaksnearme

python310Packages.pyoutbreaksnearme: init at 2022.10.0
This commit is contained in:
Fabian Affolter 2023-02-12 23:23:49 +01:00 committed by GitHub
commit 6e11710509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 21 deletions

View file

@ -1,7 +1,6 @@
{ lib
, aiohttp
, aresponses
, aiocache
, buildPythonPackage
, fetchFromGitHub
, poetry-core
@ -9,39 +8,29 @@
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, msgpack
, ujson
}:
buildPythonPackage rec {
pname = "pyflunearyou";
version = "2021.10.0";
pname = "pyoutbreaksnearme";
version = "2022.10.0";
format = "pyproject";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU=";
rev = "refs/tags/${version}";
sha256 = "sha256-D7oXkKDSg+yF+j1WyG/VVY12hLU6oyhEtxLrF6IkMSA=";
};
pythonRelaxDeps = [
"aiocache"
"ujson"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
aiohttp
aiocache
msgpack
ujson
];
@ -58,12 +47,13 @@ buildPythonPackage rec {
];
pythonImportsCheck = [
"pyflunearyou"
"pyoutbreaksnearme"
];
meta = with lib; {
description = "Python library for retrieving UV-related information from Flu Near You";
homepage = "https://github.com/bachya/pyflunearyou";
description = "Library for retrieving data from for Outbreaks Near Me";
homepage = "https://github.com/bachya/pyoutbreaksnearme";
changelog = "https://github.com/bachya/pyoutbreaksnearme/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};

View file

@ -156,6 +156,7 @@ mapAliases ({
pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
pychef = throw "pychef has been removed because it's been archived upstream and abandoned since 2017."; # added 2022-11-14
pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
pyflunearyou = pyoutbreaksnearme; # added 2023-02-11
pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07
PyICU = pyicu; # Added 2022-12-22

View file

@ -7267,6 +7267,8 @@ self: super: with self; {
pyorthanc = callPackage ../development/python-modules/pyorthanc { };
pyoutbreaksnearme = callPackage ../development/python-modules/pyoutbreaksnearme { };
pyoverkiz = callPackage ../development/python-modules/pyoverkiz { };
pyownet = callPackage ../development/python-modules/pyownet { };
@ -8059,8 +8061,6 @@ self: super: with self; {
pyflume = callPackage ../development/python-modules/pyflume { };
pyflunearyou = callPackage ../development/python-modules/pyflunearyou { };
pyfma = callPackage ../development/python-modules/pyfma { };
pyfribidi = callPackage ../development/python-modules/pyfribidi { };