Merge pull request #131675 from fabaff/bump-aioesphomeapi

This commit is contained in:
Martin Weinelt 2021-07-27 15:17:45 +02:00 committed by GitHub
commit 8ecc61c91a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,26 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonOlder , fetchFromGitHub
, fetchPypi , mock
, protobuf , protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, zeroconf , zeroconf
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioesphomeapi"; pname = "aioesphomeapi";
version = "5.0.1"; version = "5.1.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "esphome";
sha256 = "sha256-2IxXhAysQiqqEd4Mfjgc5vX0+D60rof2nPJDXy9tRVs="; repo = pname;
rev = "v${version}";
sha256 = "09hhkwkphyqa31yd1mmpz8xmyz6hav8vwf36v8xc4v6g1xm9l6f5";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -23,8 +28,11 @@ buildPythonPackage rec {
zeroconf zeroconf
]; ];
# no tests implemented checkInputs = [
doCheck = false; mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [
"aioesphomeapi" "aioesphomeapi"