f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
43 lines
957 B
Nix
43 lines
957 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
aenum,
|
|
dacite,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "home-assistant-chip-clusters";
|
|
version = "2024.7.0";
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
inherit format version;
|
|
pname = "home_assistant_chip_clusters";
|
|
dist = "py3";
|
|
python = "py3";
|
|
hash = "sha256-1yR8Z+R16u099XtxPasmocFbdQPH1Rr6sqngNpWmuWE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aenum
|
|
dacite
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"chip.clusters"
|
|
"chip.clusters.ClusterObjects"
|
|
"chip.tlv"
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = with lib; {
|
|
description = "Python-base APIs and tools for CHIP";
|
|
homepage = "https://github.com/home-assistant-libs/chip-wheels";
|
|
changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = teams.home-assistant.members;
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|