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