python3Packages.aioesphomeapi: 2.9.0 -> 4.1.0
This commit is contained in:
parent
10bc114e32
commit
35b447f656
@ -1,22 +1,34 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchPypi
|
||||||
|
, protobuf
|
||||||
|
, zeroconf
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioesphomeapi";
|
pname = "aioesphomeapi";
|
||||||
version = "2.9.0";
|
version = "4.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "11259cd1f115d31b91512a209779fa813dded747408100805bc8ecf7c1c1fa82";
|
sha256 = "0210l2d5g76pllr2vh990k9shfv3zrknx5d2dmgqb5y90142cp76";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ attrs protobuf zeroconf ];
|
propagatedBuildInputs = [
|
||||||
|
protobuf
|
||||||
|
zeroconf
|
||||||
|
];
|
||||||
|
|
||||||
# no tests implemented
|
# no tests implemented
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "aioesphomeapi" ];
|
pythonImportsCheck = [
|
||||||
|
"aioesphomeapi"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Client for ESPHome native API";
|
description = "Python Client for ESPHome native API";
|
||||||
|
Loading…
Reference in New Issue
Block a user