38 lines
789 B
Nix
38 lines
789 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, dacite
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "home-assistant-chip-clusters";
|
||
|
version = "2022.12.0";
|
||
|
format = "wheel";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit format version;
|
||
|
pname = "home_assistant_chip_clusters";
|
||
|
dist = "py3";
|
||
|
python = "py3";
|
||
|
hash = "sha256-zo54lRNyKXCCUUoYIiZmHZMqISim9QKEOnFbM/iBRqE=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|