Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, orjson, pyprojectVersionPatchHook, 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 ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
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 ]; };}