1{
2 aiohttp,
3 buildPythonPackage,
4 fetchFromGitHub,
5 lib,
6 setuptools,
7 websockets,
8}:
9
10buildPythonPackage rec {
11 pname = "pyhomee";
12 version = "1.3.8";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "Taraman17";
17 repo = "pyHomee";
18 tag = "v${version}";
19 hash = "sha256-7Op+l6gIyPPE4DX3XGi1hpgWRllOTbaqqUuop7JDMhY=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 aiohttp
26 websockets
27 ];
28
29 pythonImportsCheck = [ "pyHomee" ];
30
31 # upstream has no tests
32 doCheck = false;
33
34 meta = {
35 changelog = "https://github.com/Taraman17/pyHomee/releases/tag/${src.tag}";
36 description = "Python library to interact with homee";
37 homepage = "https://github.com/Taraman17/pyHomee";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ dotlambda ];
40 };
41}