1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "pysensibo";
11 version = "1.0.36";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-lsHKwFzfkGWuUiZGkt9zwjNDDU7i6gcqcEsi5SQqsSQ=";
19 };
20
21 propagatedBuildInputs = [ aiohttp ];
22
23 # No tests implemented
24 doCheck = false;
25
26 pythonImportsCheck = [ "pysensibo" ];
27
28 meta = with lib; {
29 description = "Module for interacting with Sensibo";
30 homepage = "https://github.com/andrey-git/pysensibo";
31 changelog = "https://github.com/andrey-git/pysensibo/releases/tag/${version}";
32 license = licenses.mit;
33 maintainers = with maintainers; [ fab ];
34 };
35}