depot/pkgs/applications/misc/geek-life/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
680 B
Nix

{ 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 = "Todo List / Task Manager for Geeks in command line";
maintainers = with maintainers; [ noisersup ];
license = licenses.mit;
mainProgram = "geek-life";
};
}