2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
aenum,
|
|
|
|
dacite,
|
2023-01-20 10:41:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "home-assistant-chip-clusters";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2024.7.0";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit format version;
|
|
|
|
pname = "home_assistant_chip_clusters";
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-1yR8Z+R16u099XtxPasmocFbdQPH1Rr6sqngNpWmuWE=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|