python3Packages.lighthouse-ble: init at 0.2.0

This commit is contained in:
Jamie Magee
2026-11-23 13:41:46 -08:00
parent 8b4b42ecdc
commit 5efbdbf647
2 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
hatchling,
bleak,
bleak-retry-connector,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "lighthouse-ble";
version = "0.2.0";
pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub {
owner = "g4bri3lDev";
repo = "lighthouse-ble";
tag = "v${finalAttrs.version}";
hash = "sha256-GnzYyrM25ycb66u+c+YK1DAVnMvip8MIG4lAFRfrTpc=";
};
build-system = [ hatchling ];
dependencies = [
bleak
bleak-retry-connector
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "lighthouse_ble" ];
meta = {
description = "Async Bluetooth LE control of SteamVR Lighthouse base stations (Valve Index V2, HTC Vive V1)";
homepage = "https://github.com/g4bri3lDev/lighthouse-ble";
changelog = "https://github.com/g4bri3lDev/lighthouse-ble/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
mainProgram = "lighthouse-ble";
};
})

View File

@@ -10064,6 +10064,8 @@ self: super: with self; {
lightgbm = callPackage ../development/python-modules/lightgbm { };
lighthouse-ble = callPackage ../development/python-modules/lighthouse-ble { };
lightify = callPackage ../development/python-modules/lightify { };
lightning = callPackage ../development/python-modules/lightning { };