1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchFromGitHub
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "evohome-async";
10 version = "0.3.15";
11 disabled = pythonOlder "3.7";
12
13 src = fetchFromGitHub {
14 owner = "zxdavb";
15 repo = pname;
16 rev = version;
17 hash = "sha256-/dZRlcTcea26FEpw/XDItKh4ncr/eEFQcdfIE2KIMo8=";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 ];
23
24 # Project has no tests
25 doCheck = false;
26 pythonImportsCheck = [ "evohomeasync2" ];
27
28 meta = with lib; {
29 description = "Python client for connecting to Honeywell's TCC RESTful API";
30 homepage = "https://github.com/zxdavb/evohome-async";
31 license = with licenses; [ asl20 ];
32 maintainers = with maintainers; [ fab ];
33 };
34}