Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, mashumaro, poetry-core, poetry-dynamic-versioning, pyprojectVersionPatchHook, pytest-aiohttp, pytest-asyncio, pytest-cov-stub, pytestCheckHook, syrupy, time-machine,}:
buildPythonPackage (finalAttrs: { pname = "google-air-quality-api"; version = "3.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "Thomas55555"; repo = "python-google-air-quality-api"; tag = finalAttrs.version; hash = "sha256-hgdK7Rrw/iELRE+vSuwsRUzLDT8qE2Dhxqd4bAgxays="; };
build-system = [ poetry-core poetry-dynamic-versioning ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
dependencies = [ aiohttp mashumaro ];
nativeCheckInputs = [ aioresponses pytest-aiohttp pytest-asyncio pytest-cov-stub pytestCheckHook syrupy time-machine ];
pythonImportsCheck = [ "google_air_quality_api" ];
disabledTests = [ # Snapshots are failing "test_air_quality_current_conditions_snapshot" ];
meta = { changelog = "https://github.com/Thomas55555/python-google-air-quality-api/releases/tag/${finalAttrs.version}"; description = "Python client library for the Google Air Quality API"; homepage = "https://github.com/Thomas55555/python-google-air-quality-api"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };})