python3Packages.medcom-ble: init at 0.1.1 (#434612)

This commit is contained in:
Martin Weinelt 2025-08-19 03:53:16 +02:00 committed by GitHub
commit 9821c68f78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
bleak,
bleak-retry-connector,
}:
buildPythonPackage rec {
pname = "medcom-ble";
version = "0.1.1";
pyproject = true;
src = fetchPypi {
pname = "medcom_ble";
inherit version;
hash = "sha256-PQ0ZOFLGVllz/Jxw2CN6D5Ypza5/Ck3dtk3DuB+eHiA=";
};
build-system = [
poetry-core
];
dependencies = [
bleak
bleak-retry-connector
];
# Package has no tests
doCheck = false;
pythonImportsCheck = [
"medcom_ble"
];
meta = {
description = "Library to communicate with Medcom BLE radiation monitors";
homepage = "https://github.com/elafargue/medcom-ble";
changelog = "https://github.com/elafargue/medcom-ble/blob/main/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@ -3488,12 +3488,13 @@
hassil
home-assistant-intents
ifaddr
medcom-ble
mutagen
pymicro-vad
pyserial
pyspeex-noise
zeroconf
]; # missing inputs: medcom-ble
];
"media_extractor" =
ps:
with ps;
@ -7367,6 +7368,7 @@
"mcp_server"
"mealie"
"meater"
"medcom_ble"
"media_extractor"
"media_player"
"media_source"

View File

@ -9080,6 +9080,8 @@ self: super: with self; {
medallion = callPackage ../development/python-modules/medallion { };
medcom-ble = callPackage ../development/python-modules/medcom-ble { };
mediafile = callPackage ../development/python-modules/mediafile { };
mediafire-dl = callPackage ../development/python-modules/mediafire-dl { };