blob: ad51ef12d5c9d3e6a857de8f1bfc410c25e12ad0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "python-ecobee-api";
version = "0.2.18";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nkgilley";
repo = "python-ecobee-api";
rev = "refs/tags/${version}";
hash = "sha256-WBVHlA7cAQGCFRNSANX6PqPQYMRw74GEAlTFwSBxVQU=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "pyecobee" ];
meta = with lib; {
description = "Python API for talking to Ecobee thermostats";
homepage = "https://github.com/nkgilley/python-ecobee-api";
changelog = "https://github.com/nkgilley/python-ecobee-api/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
|