1{
2 lib,
3 aiohttp,
4 async-timeout,
5 buildPythonPackage,
6 fetchPypi,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "pymiele";
13 version = "0.1.7";
14 pyproject = true;
15
16 disabled = pythonOlder "3.9";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-nlilHcBdWpCIknhE/RRvcmuz1waNdmcPt++Vi3amvHg=";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24
25 propagatedBuildInputs = [
26 aiohttp
27 async-timeout
28 ];
29
30 # No tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "pymiele" ];
34
35 meta = with lib; {
36 changelog = "https://github.com/astrandb/pymiele/releases/tag/v${version}";
37 description = "Lib for Miele integration with Home Assistant";
38 homepage = "https://github.com/astrandb/pymiele";
39 license = licenses.mit;
40 maintainers = with maintainers; [ jamiemagee ];
41 };
42}