diff options
author | Weijia Wang | 2024-05-02 12:59:29 +0200 |
---|---|---|
committer | GitHub | 2024-05-02 12:59:29 +0200 |
commit | 3be8d40ec9bf44f2783e6dda9cb5e5a869a0e918 (patch) | |
tree | bd26ac578d7bd0a640f49613d86cc6c88443b674 /pkgs/by-name | |
parent | d32b6f14dd1a6d77adf4fca8679f58e07f9173aa (diff) | |
parent | 2dd9051b94a5022eed7062baf1174a975a1de2ff (diff) |
Merge pull request #308051 from redyf/add-pom
pom: init at unstable-2024-04-29
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/po/pom/package.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/by-name/po/pom/package.nix b/pkgs/by-name/po/pom/package.nix new file mode 100644 index 000000000000..7cfde2d59a57 --- /dev/null +++ b/pkgs/by-name/po/pom/package.nix @@ -0,0 +1,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"; + }; +} |