13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
27 lines
662 B
Nix
27 lines
662 B
Nix
{ 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";
|
|
};
|
|
}
|