1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 poetry-core,
7}:
8
9buildPythonPackage rec {
10 pname = "pybalboa";
11 version = "1.0.1";
12 format = "pyproject";
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchFromGitHub {
17 owner = "garbled1";
18 repo = pname;
19 rev = "refs/tags/${version}";
20 hash = "sha256-7vjdRGnEnMf32pZwoKRxX16hxkyf0CXlncpbBJMQtfI=";
21 };
22
23 nativeBuildInputs = [ poetry-core ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pybalboa" ];
29
30 meta = with lib; {
31 description = " Python module to interface with a Balboa Spa";
32 homepage = "https://github.com/garbled1/pybalboa";
33 changelog = "https://github.com/garbled1/pybalboa/releases/tag/${version}";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ fab ];
36 };
37}