1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 bleak,
7 bleak-retry-connector,
8}:
9
10buildPythonPackage rec {
11 pname = "medcom-ble";
12 version = "0.1.1";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "medcom_ble";
17 inherit version;
18 hash = "sha256-PQ0ZOFLGVllz/Jxw2CN6D5Ypza5/Ck3dtk3DuB+eHiA=";
19 };
20
21 build-system = [
22 poetry-core
23 ];
24
25 dependencies = [
26 bleak
27 bleak-retry-connector
28 ];
29
30 # Package has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "medcom_ble"
35 ];
36
37 meta = {
38 description = "Library to communicate with Medcom BLE radiation monitors";
39 homepage = "https://github.com/elafargue/medcom-ble";
40 changelog = "https://github.com/elafargue/medcom-ble/blob/main/CHANGELOG.md";
41 license = lib.licenses.mit;
42 maintainers = [ lib.maintainers.jamiemagee ];
43 };
44}