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>
main
Alvar Penning 2 years ago
parent 35ae1ffeb8
commit 115fa9a191
  1. 25
      pkgs/applications/office/watson/default.nix

@ -1,31 +1,16 @@
{ lib, fetchFromGitHub, python3, installShellFiles }: { lib, fetchFromGitHub, python3, installShellFiles }:
let with python3.pkgs;
# 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";
# When you update Watson, please check whether the Click 7 buildPythonApplication rec {
# workaround above can go away. pname = "watson";
version = "2.0.1"; version = "2.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TailorDev"; owner = "TailorDev";
repo = "Watson"; repo = "Watson";
rev = version; rev = version;
sha256 = "0radf5afyphmzphfqb4kkixahds2559nr3yaqvni4xrisdaiaymz"; sha256 = "sha256-/AASYeMkt18KPJljAjNPRYOpg/T5xuM10LJq4LrFD0g=";
}; };
postInstall = '' postInstall = ''

Loading…
Cancel
Save