about summary refs log tree commit diff
path: root/pkgs/applications/misc/geek-life/default.nix
blob: 0e8e3899bb2a64b8c7d74a153d92ea615008ef49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "geek-life";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "ajaxray";
    repo = "geek-life";
    rev = "v${version}";
    sha256 = "sha256-7B/4pDOVXef2MaWKvzkUZH0/KM/O1gJjI3xPjEXqc/E=";
  };

  vendorHash = "sha256-U80Yb8YXKQ8KJf+FxkC0EIUFKP4PKAFRtKTCvXSc0WI=";

  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;
    mainProgram = "geek-life";
  };
}