2023-01-20 10:41:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-05-24 13:37:59 +00:00
|
|
|
, aenum
|
2023-01-20 10:41:00 +00:00
|
|
|
, dacite
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "home-assistant-chip-clusters";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2023.10.2";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit format version;
|
|
|
|
pname = "home_assistant_chip_clusters";
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-wAXxz0BryZ6i0yaqNp74PfApwMHYQuSLz5prJEiG1YE=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-05-24 13:37:59 +00:00
|
|
|
aenum
|
2023-01-20 10:41:00 +00:00
|
|
|
dacite
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"chip.clusters"
|
2023-11-16 04:20:00 +00:00
|
|
|
"chip.clusters.ClusterObjects"
|
|
|
|
"chip.tlv"
|
2023-01-20 10:41:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # no tests
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python-base APIs and tools for CHIP";
|
|
|
|
homepage = "https://github.com/home-assistant-libs/chip-wheels";
|
2023-03-04 12:14:45 +00:00
|
|
|
changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
|
2023-01-20 10:41:00 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.home-assistant.members;
|
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
|
|
};
|
|
|
|
}
|