Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, hidapi, loguru, pyserial, pytest-asyncio, pytestCheckHook, uv-build,}:
buildPythonPackage (finalAttrs: { pname = "busylight-core"; version = "2.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "JnyJny"; repo = "busylight"; tag = "busylight-core/v${finalAttrs.version}"; hash = "sha256-0+RkuLTYrLa0siVn3kMSompTNyR1dPoMb6RGzZNlOlQ="; rootDir = "packages/busylight-core"; };
build-system = [ uv-build ];
dependencies = [ hidapi loguru pyserial ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "busylight_core" ];
passthru = { # bulk updater uses wrong tag skipBulkUpdate = true; };
meta = { description = "Library for interacting programmatically with USB-connected LED lights"; homepage = "https://github.com/JnyJny/busylight"; changelog = "https://github.com/JnyJny/busylight/blob/${finalAttrs.src.tag}/${finalAttrs.src.rootDir}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})