Skip to content

Commit

Permalink
Merge pull request #93467 from geistesk/watson-1.10.0
Browse files Browse the repository at this point in the history
watson: 1.9.0 -> 1.10.0
  • Loading branch information
marsam committed Jul 20, 2020
2 parents 17ce860 + 7a53f9b commit ca4e665
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions pkgs/applications/office/watson/default.nix
@@ -1,27 +1,18 @@
{ stdenv, fetchFromGitHub, pythonPackages, fetchpatch, installShellFiles }:
{ stdenv, fetchFromGitHub, pythonPackages, installShellFiles }:

with pythonPackages;

buildPythonApplication rec {
pname = "watson";
version = "1.9.0";
version = "1.10.0";

src = fetchFromGitHub {
owner = "TailorDev";
repo = "Watson";
rev = version;
sha256 = "0f0ldwadjf0xncx3m4w4wwqddd4wjwcsrbhby8vgsnqsn48dnfcx";
sha256 = "1s0k86ldqky6avwjaxkw1y02wyf59qwqldcahy3lhjn1b5dgsb3s";
};

patches = [
# https://github.com/TailorDev/Watson/pull/380
# The nixpkgs' arrow version is too new / not supported by Watson's latest release.
(fetchpatch {
url = "https://github.com/TailorDev/Watson/commit/69b9ad25551525d52060f7fb2eef3653e872a455.patch";
sha256 = "0zrswgr0y219f92zi41m7cymfaspkhmlada4v9ijnsjjdb4bn2c9";
})
];

checkPhase = ''
pytest -vs tests
'';
Expand All @@ -39,6 +30,6 @@ buildPythonApplication rec {
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 geistesk ];
};
}

0 comments on commit ca4e665

Please sign in to comment.