mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
python312Packages.leaone-ble: init at 0.1.0 (#352339)
This commit is contained in:
commit
650835a167
52
pkgs/development/python-modules/leaone-ble/default.nix
Normal file
52
pkgs/development/python-modules/leaone-ble/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
bluetooth-data-tools,
|
||||
bluetooth-sensor-state-data,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
home-assistant-bluetooth,
|
||||
poetry-core,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
sensor-state-data,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "leaone-ble";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bluetooth-devices";
|
||||
repo = "leaone-ble";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-usFjI0zU89dEAbmx9mVemoxlYS8mmLTKIMhH26Rvkeg=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
bluetooth-data-tools
|
||||
bluetooth-sensor-state-data
|
||||
home-assistant-bluetooth
|
||||
sensor-state-data
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "leaone_ble" ];
|
||||
|
||||
meta = {
|
||||
description = "Bluetooth parser for LeaOne devices";
|
||||
homepage = "https://github.com/bluetooth-devices/leaone-ble";
|
||||
changelog = "https://github.com/bluetooth-devices/leaone-ble/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2334,13 +2334,14 @@
|
||||
hassil
|
||||
home-assistant-intents
|
||||
ifaddr
|
||||
leaone-ble
|
||||
mutagen
|
||||
pymicro-vad
|
||||
pyserial
|
||||
pyspeex-noise
|
||||
pyudev
|
||||
zeroconf
|
||||
]; # missing inputs: leaone-ble
|
||||
];
|
||||
"led_ble" = ps: with ps; [
|
||||
aioesphomeapi
|
||||
aioruuvigateway
|
||||
@ -5401,6 +5402,7 @@
|
||||
"lawn_mower"
|
||||
"lcn"
|
||||
"ld2410_ble"
|
||||
"leaone"
|
||||
"led_ble"
|
||||
"lektrico"
|
||||
"lg_netcast"
|
||||
|
@ -7014,6 +7014,8 @@ self: super: with self; {
|
||||
|
||||
leanblueprint = callPackage ../development/python-modules/leanblueprint { };
|
||||
|
||||
leaone-ble = callPackage ../development/python-modules/leaone-ble { };
|
||||
|
||||
leb128 = callPackage ../development/python-modules/leb128 { };
|
||||
|
||||
led-ble = callPackage ../development/python-modules/led-ble { };
|
||||
|
Loading…
Reference in New Issue
Block a user