about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorAlvar Penning <post@0x21.biz>2022-05-19 21:32:34 +0200
committerAlvar Penning <post@0x21.biz>2022-05-19 21:32:34 +0200
commit115fa9a191d6725d1e9e68da2c9f9a6228dc1dc2 (patch)
tree1e02de754e13e6166cd31a46c192521e347266cc /pkgs/applications/office
parent35ae1ffeb8656554b2947cd74d1f2666de9395c9 (diff)
watson: 2.0.1 -> 2.1.0
This version bumps allows reverting the Click 7 override.
<https://github.com/TailorDev/Watson/releases/tag/2.1.0>
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/watson/default.nix25
1 files changed, 5 insertions, 20 deletions
diff --git a/pkgs/applications/office/watson/default.nix b/pkgs/applications/office/watson/default.nix
index cf4fa359749f9..eb3f5496522e9 100644
--- a/pkgs/applications/office/watson/default.nix
+++ b/pkgs/applications/office/watson/default.nix
@@ -1,31 +1,16 @@
 { lib, fetchFromGitHub, python3, installShellFiles }:
 
-let
-  # Watson is currently not compatible with Click 8. See the following
-  # upstream issues / MRs:
-  #
-  # https://github.com/TailorDev/Watson/issues/430
-  # https://github.com/TailorDev/Watson/pull/432
-  #
-  # Workaround the issue by providing click 7 explicitly.
-  python = python3.override {
-    packageOverrides = self: super: {
-      # Use click 7
-      click = self.callPackage ../../../development/python2-modules/click/default.nix { };
-    };
-  };
-in with python.pkgs; buildPythonApplication rec {
-  pname = "watson";
+with python3.pkgs;
 
-  # When you update Watson, please check whether the Click 7
-  # workaround above can go away.
-  version = "2.0.1";
+buildPythonApplication rec {
+  pname = "watson";
+  version = "2.1.0";
 
   src = fetchFromGitHub {
     owner = "TailorDev";
     repo = "Watson";
     rev = version;
-    sha256 = "0radf5afyphmzphfqb4kkixahds2559nr3yaqvni4xrisdaiaymz";
+    sha256 = "sha256-/AASYeMkt18KPJljAjNPRYOpg/T5xuM10LJq4LrFD0g=";
   };
 
   postInstall = ''