2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-02-11 13:56:30 +00:00
|
|
|
|
2019-03-14 01:03:51 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "todoist";
|
2022-12-14 20:09:28 +00:00
|
|
|
version = "0.17.0";
|
2019-02-11 13:56:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sachaos";
|
|
|
|
repo = "todoist";
|
|
|
|
rev = "v${version}";
|
2022-12-14 20:09:28 +00:00
|
|
|
sha256 = "sha256-lnx02fFzf8oaJ9T7MV+Gx4EpA4h7TVJK91o9+GU/Yvs=";
|
2019-02-11 13:56:30 +00:00
|
|
|
};
|
|
|
|
|
2021-11-28 10:19:53 +00:00
|
|
|
vendorSha256 = "sha256-ly+OcRo8tGeNX4FnqNVaqjPx/A1FALOnScxs04lIOiU=";
|
2019-02-11 13:56:30 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-11-28 10:19:53 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace main.go --replace '0.15.0' '${version}'
|
|
|
|
'';
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sachaos/todoist";
|
2019-02-11 13:56:30 +00:00
|
|
|
description = "Todoist CLI Client";
|
2020-03-27 07:33:21 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.unix;
|
2019-02-11 13:56:30 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|