nixpkgs/pkgs/applications/misc/geek-life/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
653 B
Nix
Raw Normal View History

2021-10-21 02:46:23 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
2021-10-21 02:46:23 +00:00
pname = "geek-life";
2023-01-06 09:10:19 +00:00
version = "0.1.3";
2021-10-21 02:46:23 +00:00
src = fetchFromGitHub {
owner = "ajaxray";
repo = "geek-life";
2021-10-21 12:00:09 +00:00
rev = "v${version}";
2023-01-06 09:10:19 +00:00
sha256 = "sha256-7B/4pDOVXef2MaWKvzkUZH0/KM/O1gJjI3xPjEXqc/E=";
2021-10-21 02:46:23 +00:00
};
2023-01-06 09:10:19 +00:00
vendorHash = "sha256-U80Yb8YXKQ8KJf+FxkC0EIUFKP4PKAFRtKTCvXSc0WI=";
2021-10-21 02:46:23 +00:00
postInstall = ''
mv $out/bin/app $out/bin/geek-life
'';
meta = with lib; {
homepage = "https://github.com/ajaxray/geek-life";
description = "The Todo List / Task Manager for Geeks in command line";
maintainers = with maintainers; [ noisersup ];
license = licenses.mit;
};
}