aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/office/watson/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/office/watson/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/office/watson/default.nix19
1 files changed, 10 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/applications/office/watson/default.nix b/nixpkgs/pkgs/applications/office/watson/default.nix
index 52c94ce378e..00fa9416e17 100644
--- a/nixpkgs/pkgs/applications/office/watson/default.nix
+++ b/nixpkgs/pkgs/applications/office/watson/default.nix
@@ -1,15 +1,16 @@
-{ stdenv, pythonPackages, fetchpatch, installShellFiles }:
+{ stdenv, fetchFromGitHub, pythonPackages, installShellFiles }:
with pythonPackages;
buildPythonApplication rec {
pname = "watson";
- version = "1.8.0";
+ version = "1.10.0";
- src = fetchPypi {
- inherit version;
- pname = "td-watson";
- sha256 = "1ip66jhbcqifdw1avbhngwym0vv7fsqxgbph11da5wlqwfwp060n";
+ src = fetchFromGitHub {
+ owner = "TailorDev";
+ repo = "Watson";
+ rev = version;
+ sha256 = "1s0k86ldqky6avwjaxkw1y02wyf59qwqldcahy3lhjn1b5dgsb3s";
};
checkPhase = ''
@@ -21,14 +22,14 @@ buildPythonApplication rec {
installShellCompletion --zsh --name _watson watson.zsh-completion
'';
- checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
- propagatedBuildInputs = [ requests click arrow ];
+ checkInputs = [ py pytest pytest-datafiles pytest-mock pytestrunner ];
+ propagatedBuildInputs = [ arrow click click-didyoumean requests ];
nativeBuildInputs = [ installShellFiles ];
meta = with stdenv.lib; {
homepage = "https://tailordev.github.io/Watson/";
description = "A wonderful CLI to track your time!";
license = licenses.mit;
- maintainers = with maintainers; [ mguentner nathyong ];
+ maintainers = with maintainers; [ mguentner nathyong oxzi ];
};
}