2021-10-28 06:52:43 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "geek-life";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "0.1.3";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ajaxray";
|
|
|
|
repo = "geek-life";
|
|
|
|
rev = "v${version}";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-7B/4pDOVXef2MaWKvzkUZH0/KM/O1gJjI3xPjEXqc/E=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
vendorHash = "sha256-U80Yb8YXKQ8KJf+FxkC0EIUFKP4PKAFRtKTCvXSc0WI=";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/app $out/bin/geek-life
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ajaxray/geek-life";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Todo List / Task Manager for Geeks in command line";
|
2021-10-28 06:52:43 +00:00
|
|
|
maintainers = with maintainers; [ noisersup ];
|
|
|
|
license = licenses.mit;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "geek-life";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
}
|