python3Packages.pyatmo: 4.2.3 -> 5.0.1

This commit is contained in:
Martin Weinelt 2021-06-03 01:45:39 +02:00
parent eac2367067
commit 552184431b

View file

@ -2,24 +2,26 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp
, oauthlib
, requests
, requests_oauthlib
, freezegun
, pytest-asyncio
, pytestCheckHook
, requests-mock
}:
buildPythonPackage rec {
pname = "pyatmo";
version = "4.2.3";
version = "5.0.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jabesq";
repo = "pyatmo";
rev = "v${version}";
sha256 = "sha256-hbs+1x/pwv00dhm+1Yj1effddJZHDjs2K3oeBmdCY+k=";
sha256 = "0can9v602iqfn0l01fd7gr63qzvcngfm0qka4s1x0pldh6avxmfh";
};
postPatch = ''
@ -29,6 +31,7 @@ buildPythonPackage rec {
'';
propagatedBuildInputs = [
aiohttp
oauthlib
requests
requests_oauthlib
@ -36,6 +39,7 @@ buildPythonPackage rec {
checkInputs = [
freezegun
pytest-asyncio
pytestCheckHook
requests-mock
];