python3Packages.google-nest-sdm: 1.3.0 -> 1.5.1

This commit is contained in:
Fabian Affolter 2022-01-18 09:48:35 +01:00
parent 9789ed45b7
commit d757369602

View file

@ -1,19 +1,21 @@
{ lib
, aiohttp
, asynctest
, buildPythonPackage
, coreutils
, fetchFromGitHub
, google-auth
, google-auth-oauthlib
, google-cloud-pubsub
, pythonOlder
, requests_oauthlib
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "google-nest-sdm";
version = "1.3.0";
version = "1.5.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -22,7 +24,7 @@ buildPythonPackage rec {
owner = "allenporter";
repo = "python-google-nest-sdm";
rev = version;
sha256 = "sha256-E0e4lLUBzHKA3clmb/JUBE0KGciQ1xrmLTSeSkGDsWo=";
sha256 = "sha256-8Y3ixkDl/AmXQMOY+29og5njMh9M2qjwWBGCsiqX5PU=";
};
propagatedBuildInputs = [
@ -34,10 +36,17 @@ buildPythonPackage rec {
];
checkInputs = [
asynctest
coreutils
pytest-aiohttp
pytestCheckHook
];
postPatch = ''
substituteInPlace tests/event_media_test.py \
--replace "/bin/echo" "${coreutils}/bin/echo"
'';
pythonImportsCheck = [
"google_nest_sdm"
];