about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-12-07 20:35:37 +0100
committerJonathan Ringer <jonringer117@gmail.com>2021-12-14 12:04:14 -0800
commit2188710d22d0418d17014d10fcf444c60d6589b2 (patch)
tree4b5bcd334ab518ce269c9d37388c894a8e28676b
parentd16e844b3488a032fc4f555710383a41a59f41db (diff)
python3Packages.python-smarttub: relax pyjwt constraint
-rw-r--r--pkgs/development/python-modules/python-smarttub/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-smarttub/default.nix b/pkgs/development/python-modules/python-smarttub/default.nix
index dc266e0e2075c..a706aed131b93 100644
--- a/pkgs/development/python-modules/python-smarttub/default.nix
+++ b/pkgs/development/python-modules/python-smarttub/default.nix
@@ -38,6 +38,11 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "pyjwt~=2.1.0" "pyjwt>=2.1.0"
+  '';
+
   pythonImportsCheck = [
     "smarttub"
   ];