2021-01-16 12:59:24 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }:
|
2019-04-01 16:25:50 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioesphomeapi";
|
2021-06-18 22:47:07 +01:00
|
|
|
version = "2.9.0";
|
2019-04-22 22:35:37 +01:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2019-04-01 16:25:50 +01:00
|
|
|
|
2021-01-16 12:59:24 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:07 +01:00
|
|
|
sha256 = "11259cd1f115d31b91512a209779fa813dded747408100805bc8ecf7c1c1fa82";
|
2019-04-01 16:25:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ attrs protobuf zeroconf ];
|
|
|
|
|
2019-04-04 07:47:11 +01:00
|
|
|
# no tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-08-29 19:27:03 +01:00
|
|
|
pythonImportsCheck = [ "aioesphomeapi" ];
|
|
|
|
|
2019-04-04 07:47:11 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python Client for ESPHome native API";
|
2019-09-15 16:21:04 +01:00
|
|
|
homepage = "https://github.com/esphome/aioesphomeapi";
|
2019-04-04 07:47:11 +01:00
|
|
|
license = licenses.mit;
|
2021-05-04 13:32:37 +01:00
|
|
|
maintainers = with maintainers; [ fab hexa ];
|
2019-04-04 07:47:11 +01:00
|
|
|
};
|
2019-04-01 16:25:50 +01:00
|
|
|
}
|