Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, aiohttp, aiointercept, buildPythonPackage, dacite, fetchFromGitHub, pyprojectVersionPatchHook, pytest-asyncio, pytest-error-for-skips, pytestCheckHook, pythonOlder, setuptools, syrupy_5,}:
buildPythonPackage rec { pname = "gios"; version = "7.1.1"; pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub { owner = "bieniu"; repo = "gios"; tag = version; hash = "sha256-VWLdvk+PF/0BaPNIIJcb+rsW1MyNoHcQuVx1Kvx20jk="; };
nativeBuildInputs = [ pyprojectVersionPatchHook ];
build-system = [ setuptools ];
dependencies = [ aiohttp dacite ];
nativeCheckInputs = [ aiointercept pytest-asyncio pytest-error-for-skips pytestCheckHook syrupy_5 ];
disabledTests = [ # Test requires network access "test_invalid_station_id" ];
pythonImportsCheck = [ "gios" ];
meta = { description = "Python client for getting air quality data from GIOS"; homepage = "https://github.com/bieniu/gios"; changelog = "https://github.com/bieniu/gios/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };}