python3Packages.pyatmo: 4.1.0 -> 4.2.0
Relax their oauthlib pin to 3.1.0, we have already move on to an unstable version for the latest PyJWT support.
This commit is contained in:
parent
842c7c5384
commit
7f623f6f3b
@ -12,17 +12,26 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatmo";
|
||||
version = "4.1.0";
|
||||
disabled = pythonOlder "3.5"; # uses type hints
|
||||
version = "4.2.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jabesq";
|
||||
repo = "netatmo-api-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "0x3xq6ni9rl5k3vi0ydqafdzvza785ycnlgyikgqbkppbh3j33ig";
|
||||
sha256 = "0b2k1814zg3994k60xdw5gpsl8k1wy9zndd0b1p4dfb5qkx9f8kp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ oauthlib requests requests_oauthlib ];
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "oauthlib==3.1.0" "oauthlib"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
oauthlib
|
||||
requests
|
||||
requests_oauthlib
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
freezegun
|
||||
|
Loading…
Reference in New Issue
Block a user