841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
27 lines
676 B
Nix
27 lines
676 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioesphomeapi";
|
|
version = "2.9.0";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "11259cd1f115d31b91512a209779fa813dded747408100805bc8ecf7c1c1fa82";
|
|
};
|
|
|
|
propagatedBuildInputs = [ attrs protobuf zeroconf ];
|
|
|
|
# no tests implemented
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aioesphomeapi" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python Client for ESPHome native API";
|
|
homepage = "https://github.com/esphome/aioesphomeapi";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab hexa ];
|
|
};
|
|
}
|