python3Packages.python-smarttub: pin pyjwt at 1.7.1

Upstream does not yet support pyjwt>=2.0 and this package is only used
in the home-assistant context, which also pins 1.7.1.

https://github.com/mdz/python-smarttub/issues/10
This commit is contained in:
Martin Weinelt 2021-03-27 01:46:32 +01:00 committed by Frederik Rietdijk
parent e7436d2c9f
commit 4e9c5151b9
1 changed files with 12 additions and 1 deletions

View File

@ -11,6 +11,17 @@
, pythonOlder
}:
let
# https://github.com/mdz/python-smarttub/issues/10
pyjwt' = pyjwt.overridePythonAttrs (oldAttrs: rec {
version = "1.7.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96";
};
});
in
buildPythonPackage rec {
pname = "python-smarttub";
version = "0.0.19";
@ -26,7 +37,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
inflection
pyjwt
pyjwt'
python-dateutil
];