Merge pull request #308051 from redyf/add-pom

pom: init at unstable-2024-04-29
This commit is contained in:
Weijia Wang 2024-05-02 12:59:29 +02:00 committed by GitHub
commit 3be8d40ec9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 31 additions and 0 deletions

View file

@ -16841,6 +16841,12 @@
githubId = 18155001; githubId = 18155001;
name = "Gabe Dunn"; name = "Gabe Dunn";
}; };
redyf = {
email = "mateusalvespereira7@gmail.com";
github = "redyf";
githubId = 98139059;
name = "Mateus Alves";
};
reedrw = { reedrw = {
email = "reedrw5601@gmail.com"; email = "reedrw5601@gmail.com";
github = "reedrw"; github = "reedrw";

View file

@ -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";
};
}