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