mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
python313Packages.accuweather: modernize
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
pytest-asyncio,
|
||||
pytest-error-for-skips,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
syrupy,
|
||||
}:
|
||||
@@ -18,8 +17,6 @@ buildPythonPackage rec {
|
||||
version = "5.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bieniu";
|
||||
repo = "accuweather";
|
||||
@@ -47,7 +44,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python wrapper for getting weather data from AccuWeather servers";
|
||||
homepage = "https://github.com/bieniu/accuweather";
|
||||
changelog = "https://github.com/bieniu/accuweather/releases/tag/${version}";
|
||||
changelog = "https://github.com/bieniu/accuweather/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jamiemagee ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user