diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-03-27 01:46:32 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-04-03 17:56:15 +0200 |
commit | 4e9c5151b9932d6b6035e9a0e5b9bad637531f35 (patch) | |
tree | d3fdd98771caa49af3d6f127b19418f2949b4b0a /pkgs/development/python-modules/python-smarttub | |
parent | e7436d2c9f0feff20fe566c07691b7ce7c047580 (diff) |
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
Diffstat (limited to 'pkgs/development/python-modules/python-smarttub')
-rw-r--r-- | pkgs/development/python-modules/python-smarttub/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-smarttub/default.nix b/pkgs/development/python-modules/python-smarttub/default.nix index 3e5889b93560f..ec71448fe1d7f 100644 --- a/pkgs/development/python-modules/python-smarttub/default.nix +++ b/pkgs/development/python-modules/python-smarttub/default.nix @@ -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 ]; |