Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies bleak, pycayennelpp, pyserial-asyncio-fast, pycryptodome,
# tests pytest-asyncio, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "meshcore"; version = "2.3.17"; pyproject = true;
src = fetchFromGitHub { owner = "meshcore-dev"; repo = "meshcore_py"; tag = "v${finalAttrs.version}"; hash = "sha256-Hhl012J64WCSs2/rVI6vNwwQwj/+j5wudtzhKml7bHg="; };
build-system = [ hatchling ];
dependencies = [ bleak pycayennelpp pyserial-asyncio-fast pycryptodome ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "meshcore" ];
meta = { description = "Python library for communicating with meshcore companion radios"; homepage = "https://github.com/meshcore-dev/meshcore_py"; changelog = "https://github.com/meshcore-dev/meshcore_py/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ haylin ]; };})