Merge pull request #93467 from geistesk/watson-1.10.0
watson: 1.9.0 -> 1.10.0
This commit is contained in:
commit
ca4e665f8c
@ -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
|
||||
'';
|
||||
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user