1{
2 bleak,
3 buildPythonPackage,
4 fetchFromGitHub,
5 lib,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pyprobeplus";
11 version = "1.0.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "pantherale0";
16 repo = "pyprobeplus";
17 tag = version;
18 hash = "sha256-ixrkwnvqjHwqnKG3Xo4qJP/FcP7fuAOPKpar13e8U1w=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 bleak
25 ];
26
27 pythonImportsCheck = [ "pyprobeplus" ];
28
29 # upstream has no tests
30 doCheck = false;
31
32 meta = {
33 changelog = "https://github.com/pantherale0/pyprobeplus/releases/tag/${src.tag}";
34 description = "Generic library to interact with a Probe Plus BLE device";
35 homepage = "https://github.com/pantherale0/pyprobeplus";
36 license = lib.licenses.asl20;
37 maintainers = with lib.maintainers; [ dotlambda ];
38 };
39}