python3Packages.pyatmo: 4.2.0 -> 4.2.1

This commit is contained in:
Martin Weinelt 2020-12-05 15:06:44 +01:00
parent 94f9ab741c
commit 3946938f35
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -12,19 +12,20 @@
buildPythonPackage rec {
pname = "pyatmo";
version = "4.2.0";
version = "4.2.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jabesq";
repo = "netatmo-api-python";
rev = "v${version}";
sha256 = "0b2k1814zg3994k60xdw5gpsl8k1wy9zndd0b1p4dfb5qkx9f8kp";
sha256 = "12lmjhqjn71a358nkpzl3dwgiwmmz4lcv9f0qf69ngznpiirk28m";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "oauthlib==3.1.0" "oauthlib"
--replace "oauthlib~=3.1.0" "oauthlib" \
--replace "requests~=2.23.0" "requests"
'';
propagatedBuildInputs = [