diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-07-01 18:29:59 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-07-22 23:06:59 +0200 |
commit | 35b447f656402b1c540c9e583cc0ec21148821d1 (patch) | |
tree | aa23f396eeeb57f30cd5a127d21064d2ae4538a3 /pkgs/development/python-modules/aioesphomeapi | |
parent | 10bc114e32c42eea5222d7c8434a7a8d02e51d0b (diff) |
python3Packages.aioesphomeapi: 2.9.0 -> 4.1.0
Diffstat (limited to 'pkgs/development/python-modules/aioesphomeapi')
-rw-r--r-- | pkgs/development/python-modules/aioesphomeapi/default.nix | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index 896b9c71a7071..5def5b1d13f8d 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -1,22 +1,34 @@ -{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }: +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, protobuf +, zeroconf +}: buildPythonPackage rec { pname = "aioesphomeapi"; - version = "2.9.0"; + version = "4.1.0"; + format = "setuptools"; - disabled = !isPy3k; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "11259cd1f115d31b91512a209779fa813dded747408100805bc8ecf7c1c1fa82"; + sha256 = "0210l2d5g76pllr2vh990k9shfv3zrknx5d2dmgqb5y90142cp76"; }; - propagatedBuildInputs = [ attrs protobuf zeroconf ]; + propagatedBuildInputs = [ + protobuf + zeroconf + ]; # no tests implemented doCheck = false; - pythonImportsCheck = [ "aioesphomeapi" ]; + pythonImportsCheck = [ + "aioesphomeapi" + ]; meta = with lib; { description = "Python Client for ESPHome native API"; |