2023-01-20 10:41:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, dacite
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "home-assistant-chip-clusters";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "2023.1.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";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-2UcDu2b3DtijAOUt+eazleoKxEhAgsU3MY/OoEBpLNg=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dacite
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"chip.clusters"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # no tests
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python-base APIs and tools for CHIP";
|
|
|
|
homepage = "https://github.com/home-assistant-libs/chip-wheels";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.home-assistant.members;
|
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
|
|
};
|
|
|
|
}
|