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