python3Packages.pyatmo: 4.2.0 -> 4.2.1
This commit is contained in:
parent
94f9ab741c
commit
3946938f35
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue