1{ lib
2, buildPythonPackage
3, fetchPypi
4, aenum
5, dacite
6}:
7
8buildPythonPackage rec {
9 pname = "home-assistant-chip-clusters";
10 version = "2023.6.0";
11 format = "wheel";
12
13 src = fetchPypi {
14 inherit format version;
15 pname = "home_assistant_chip_clusters";
16 dist = "py3";
17 python = "py3";
18 hash = "sha256-8LYB3BEDHOj6ItfFRK7ewbhjN604xXKY0YlymNjEO+g=";
19 };
20
21 propagatedBuildInputs = [
22 aenum
23 dacite
24 ];
25
26 pythonImportsCheck = [
27 "chip.clusters"
28 ];
29
30 doCheck = false; # no tests
31
32 meta = with lib; {
33 description = "Python-base APIs and tools for CHIP";
34 homepage = "https://github.com/home-assistant-libs/chip-wheels";
35 changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
36 license = licenses.asl20;
37 maintainers = teams.home-assistant.members;
38 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
39 };
40}