streamlink: 7.1.1 -> 7.1.2 (#373269)
[NixPkgs.git] / pkgs / by-name / op / openpomodoro-cli / package.nix
blob1a0fe5f64d8926af82013089ebd47e3dd73254f8
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "openpomodoro-cli";
9   version = "0.3.0";
11   src = fetchFromGitHub {
12     owner = "open-pomodoro";
13     repo = "openpomodoro-cli";
14     tag = "v${version}";
15     hash = "sha256-h/o4yxrZ8ViHhN2JS0ZJMfvcJBPCsyZ9ZQw9OmKnOfY=";
16   };
18   vendorHash = "sha256-BR9d/PMQ1ZUYWSDO5ID2bkTN+A+VbaLTlz5t0vbkO60=";
20   ldflags = [
21     "-w"
22     "-s"
23     "-X=main.Version=${version}"
24   ];
26   meta = with lib; {
27     description = "Command-line Pomodoro tracker which uses the Open Pomodoro Format";
28     homepage = "https://github.com/open-pomodoro/openpomodoro-cli";
29     changelog = "https://github.com/open-pomodoro/openpomodoro-cli/blob/${src.rev}/CHANGELOG.md";
30     license = licenses.mit;
31     maintainers = with maintainers; [ gdifolco ];
32     mainProgram = "openpomodoro-cli";
33   };