Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, mashumaro, orjson, poetry-core, pyprojectVersionPatchHook, pytest-asyncio, pytest-cov-stub, pytestCheckHook, syrupy, yarl,}:
buildPythonPackage (finalAttrs: { pname = "airgradient"; version = "0.10.0"; pyproject = true;
src = fetchFromGitHub { owner = "airgradienthq"; repo = "python-airgradient"; tag = "v${finalAttrs.version}"; hash = "sha256-OlCCImVvoDqOA/LiSShCXwQACHw5Hmwc10BXaMz1DD8="; };
nativeBuildInputs = [ pyprojectVersionPatchHook ];
build-system = [ poetry-core ];
dependencies = [ aiohttp mashumaro orjson yarl ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytest-cov-stub pytestCheckHook syrupy ];
pythonImportsCheck = [ "airgradient" ];
meta = { description = "Module for AirGradient"; homepage = "https://github.com/airgradienthq/python-airgradient"; changelog = "https://github.com/airgradienthq/python-airgradient/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };})