Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 53 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, orjson, pytest-asyncio, pytest-error-for-skips, pytestCheckHook, setuptools, syrupy, yarl,}:
buildPythonPackage rec { pname = "accuweather"; version = "5.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "bieniu"; repo = "accuweather"; tag = version; hash = "sha256-IXsf78AN5Gl6itQBfxwMEWE0ggoUohD0RgMgsgLaXOI="; };
build-system = [ setuptools ];
dependencies = [ aiohttp orjson yarl ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytest-error-for-skips pytestCheckHook syrupy ];
pythonImportsCheck = [ "accuweather" ];
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/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jamiemagee ]; };}