diff options
author | Ashish SHUKLA <ashish.is@lostca.se> | 2022-02-03 04:53:53 +0530 |
---|---|---|
committer | Ashish SHUKLA <ashish.is@lostca.se> | 2022-08-19 08:33:09 +0200 |
commit | a4c8d1308d8004efb96f7ecb1d5c35427aeece9e (patch) | |
tree | ef1222f19295f9ab9e9ecb97371494484554c4e1 /pkgs/applications/misc/tasktimer | |
parent | 441dc5d512153039f19ef198e662e4f3dbb9fd65 (diff) |
tasktimer: init at 1.9.4
Diffstat (limited to 'pkgs/applications/misc/tasktimer')
-rw-r--r-- | pkgs/applications/misc/tasktimer/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tasktimer/default.nix b/pkgs/applications/misc/tasktimer/default.nix new file mode 100644 index 0000000000000..669fead0a0e88 --- /dev/null +++ b/pkgs/applications/misc/tasktimer/default.nix @@ -0,0 +1,27 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "tasktimer"; + version = "1.9.4"; + + src = fetchFromGitHub { + owner = "caarlos0"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-M88JzcK9HwHeWbQ0McbCF1rIEiKnwh08oEoRck4A/Ho="; + }; + + vendorSha256 = "sha256-5OSAa7tGPtGyx0bet82FRoIozhhlFtakbPt6PtCTHd0="; + + postInstall = '' + mv $out/bin/tasktimer $out/bin/tt + ''; + + meta = with lib; { + description = "Task Timer (tt) is a dead simple TUI task timer"; + homepage = "https://github.com/caarlos0/tasktimer"; + license = licenses.mit; + maintainers = with maintainers; [ abbe ]; + mainProgram = "tt"; + }; +} |