python3Packages.medcom-ble: init at 0.1.1

This commit is contained in:
Jamie Magee 2025-08-17 19:07:27 -07:00
parent 777751dd17
commit 03d9644c3a
2 changed files with 46 additions and 0 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

@ -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 { };