about summary refs log tree commit diff
path: root/pkgs/by-name/po/pom/package.nix
blob: 7cfde2d59a57ff278865521978497e4dbda4add9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "pom";
  version = "0-unstable-2024-04-29";

  src = fetchFromGitHub {
    owner = "maaslalani";
    repo = "pom";
    rev = "a8a2da7043f222b9c849d1ea93726433980469c0";
    hash = "sha256-EAt0Q0gSHngQj2G4qYM3zhUGkl/vqa7J36iajlH4dzs=";
  };

  vendorHash = "sha256-2ghUITtL6RDRVqAZZ+PMj4sYDuh4VaKtGT11eSMlBiA=";

  ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];

  meta = with lib; {
    description = "Pomodoro timer in your terminal";
    homepage = "https://github.com/maaslalani/pom";
    license = licenses.mit;
    maintainers = with maintainers; [ maaslalani redyf  ];
    mainProgram = "pom";
  };
}