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-07-15 17:15:38 +00:00
|
|
|
version = "2023.6.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-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-8LYB3BEDHOj6ItfFRK7ewbhjN604xXKY0YlymNjEO+g=";
|
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"
|
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|