python310Packages.pyflunearyou: replace with pyoutbreaksnearme

This commit is contained in:
Fabian Affolter 2023-02-12 12:39:18 +01:00
parent 7eb95e939a
commit 70a385964e
3 changed files with 1 additions and 72 deletions

View file

@ -1,70 +0,0 @@
{ lib
, aiohttp
, aresponses
, aiocache
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, msgpack
, ujson
}:
buildPythonPackage rec {
pname = "pyflunearyou";
version = "2021.10.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU=";
};
pythonRelaxDeps = [
"aiocache"
"ujson"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
aiohttp
aiocache
msgpack
ujson
];
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-aiohttp
pytestCheckHook
];
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_.
"examples/"
];
pythonImportsCheck = [
"pyflunearyou"
];
meta = with lib; {
description = "Python library for retrieving UV-related information from Flu Near You";
homepage = "https://github.com/bachya/pyflunearyou";
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

@ -8061,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 { };