From d9fd85f9fb883f75e2000785116f2480a40a687f Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 4 Apr 2021 13:15:04 +0200 Subject: [PATCH] Revert "python3Packages.python-smarttub: pin pyjwt at 1.7.1" Overriding within the package set is not allowed. Doing so makes it possible one ends up with multiple versions of a package, something Python cannot handle. This reverts commit 4e9c5151b9932d6b6035e9a0e5b9bad637531f35. --- .../python-modules/python-smarttub/default.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/python-smarttub/default.nix b/pkgs/development/python-modules/python-smarttub/default.nix index ec71448fe1d7..80fad0856ee1 100644 --- a/pkgs/development/python-modules/python-smarttub/default.nix +++ b/pkgs/development/python-modules/python-smarttub/default.nix @@ -11,17 +11,6 @@ , 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"; @@ -37,7 +26,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp inflection - pyjwt' + pyjwt python-dateutil ]; @@ -54,5 +43,6 @@ buildPythonPackage rec { homepage = "https://github.com/mdz/python-smarttub"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; + broken = pyjwt.version != "1.7.1"; }; }