mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
848 B
Nix
34 lines
848 B
Nix
{ 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 = "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";
|
|
};
|
|
}
|