depot/third_party/nixpkgs/pkgs/development/python-modules/home-assistant-chip-clusters/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

40 lines
900 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aenum
, dacite
}:
buildPythonPackage rec {
pname = "home-assistant-chip-clusters";
version = "2023.6.0";
format = "wheel";
src = fetchPypi {
inherit format version;
pname = "home_assistant_chip_clusters";
dist = "py3";
python = "py3";
hash = "sha256-8LYB3BEDHOj6ItfFRK7ewbhjN604xXKY0YlymNjEO+g=";
};
propagatedBuildInputs = [
aenum
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";
changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
license = licenses.asl20;
maintainers = teams.home-assistant.members;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
};
}