Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / op / openpomodoro-cli / package.nix
blobe977bbcfba56754da15a22712000ac425d83e72a
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "openpomodoro-cli";
8   version = "0.3.0";
10   src = fetchFromGitHub {
11     owner = "open-pomodoro";
12     repo = "openpomodoro-cli";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-h/o4yxrZ8ViHhN2JS0ZJMfvcJBPCsyZ9ZQw9OmKnOfY=";
15   };
17   vendorHash = "sha256-BR9d/PMQ1ZUYWSDO5ID2bkTN+A+VbaLTlz5t0vbkO60=";
19   ldflags = [
20     "-w"
21     "-s"
22     "-X=main.Version=${version}"
23   ];
25   meta = with lib; {
26     description = "Command-line Pomodoro tracker which uses the Open Pomodoro Format";
27     homepage = "https://github.com/open-pomodoro/openpomodoro-cli";
28     changelog = "https://github.com/open-pomodoro/openpomodoro-cli/blob/${src.rev}/CHANGELOG.md";
29     license = licenses.mit;
30     maintainers = with maintainers; [ gdifolco ];
31     mainProgram = "openpomodoro-cli";
32   };