Merge pull request #305255 from fabaff/accuweather-bump
python312Packages.accuweather: 2.1.1 -> 3.0.0
This commit is contained in:
commit
ee5ad6173a
|
@ -1,30 +1,35 @@
|
||||||
{ lib
|
{
|
||||||
, aiohttp
|
lib,
|
||||||
, aioresponses
|
aiohttp,
|
||||||
, buildPythonPackage
|
aioresponses,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, orjson
|
fetchFromGitHub,
|
||||||
, pytest-asyncio
|
orjson,
|
||||||
, pytest-error-for-skips
|
pytest-asyncio,
|
||||||
, pytestCheckHook
|
pytest-error-for-skips,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
|
syrupy,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "accuweather";
|
pname = "accuweather";
|
||||||
version = "2.1.1";
|
version = "3.0.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bieniu";
|
owner = "bieniu";
|
||||||
repo = pname;
|
repo = "accuweather";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-hbmeQnxVhBbXKHNdeXzAwRnMKBNvKsdfHg8MzALinhc=";
|
hash = "sha256-hnKwK0I8C8Xh7yn4yk2DqowqgyZYDB22IEllm5MeIGo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
aiohttp
|
aiohttp
|
||||||
orjson
|
orjson
|
||||||
];
|
];
|
||||||
|
@ -34,11 +39,10 @@ buildPythonPackage rec {
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-error-for-skips
|
pytest-error-for-skips
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
syrupy
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "accuweather" ];
|
||||||
"accuweather"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python wrapper for getting weather data from AccuWeather servers";
|
description = "Python wrapper for getting weather data from AccuWeather servers";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user