openpomodoro-cli: init at 0.3.0
This commit is contained in:
parent
85f94ec4b6
commit
40aa8faecf
1 changed files with 33 additions and 0 deletions
33
pkgs/by-name/op/openpomodoro-cli/package.nix
Normal file
33
pkgs/by-name/op/openpomodoro-cli/package.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "openpomodoro-cli";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "open-pomodoro";
|
||||||
|
repo = "openpomodoro-cli";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-h/o4yxrZ8ViHhN2JS0ZJMfvcJBPCsyZ9ZQw9OmKnOfY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-BR9d/PMQ1ZUYWSDO5ID2bkTN+A+VbaLTlz5t0vbkO60=";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-w"
|
||||||
|
"-s"
|
||||||
|
"-X=main.Version=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A command-line Pomodoro tracker which uses the Open Pomodoro Format";
|
||||||
|
homepage = "https://github.com/open-pomodoro/openpomodoro-cli";
|
||||||
|
changelog = "https://github.com/open-pomodoro/openpomodoro-cli/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ gdifolco ];
|
||||||
|
mainProgram = "openpomodoro-cli";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue