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