Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 64 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, mashumaro, poetry-core, poetry-dynamic-versioning, 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="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"' '';
build-system = [ poetry-core poetry-dynamic-versioning ];
dependencies = [ aiohttp mashumaro ];
nativeCheckInputs = [ aioresponses pytest-aiohttp pytest-asyncio pytest-cov-stub pytestCheckHook syrupy time-machine ];
pythonImportsCheck = [ "google_air_quality_api" ];
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 ]; };})