Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, pythonAtLeast, fetchFromGitHub, hatchling, uv-dynamic-versioning, aiohttp, attrs, defusedxml, serialx, pytest-asyncio, pytest-aiohttp, pytest-mock, pytestCheckHook,}:
buildPythonPackage rec { pname = "arcam-fmj"; version = "3.1.2"; pyproject = true;
src = fetchFromGitHub { owner = "elupus"; repo = "arcam_fmj"; tag = version; hash = "sha256-W03wTlUa/lf825nbrZjz9ykFWkAxhcW6RI/a/QOkNcw="; };
build-system = [ hatchling uv-dynamic-versioning ];
dependencies = [ aiohttp attrs defusedxml serialx ];
nativeCheckInputs = [ pytest-asyncio pytest-aiohttp pytest-mock pytestCheckHook ];
pythonImportsCheck = [ "arcam.fmj" "arcam.fmj.client" "arcam.fmj.state" "arcam.fmj.utils" ];
meta = { description = "Python library for speaking to Arcam receivers"; mainProgram = "arcam-fmj"; homepage = "https://github.com/elupus/arcam_fmj"; changelog = "https://github.com/elupus/arcam_fmj/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}