mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
3f8e3846c6
Apply suggested change to version Suggested change to version from "0.1.0" to "0.1.0-unstable-2024-05-17" Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
26 lines
690 B
Nix
26 lines
690 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pom";
|
|
version = "0.1.0-unstable-2024-05-17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maaslalani";
|
|
repo = "pom";
|
|
rev = "699204a6db4f942ee6a6bf0dc389709ab6e1663f";
|
|
hash = "sha256-Qc4gU2oCgI/B788NuEqB+FoAYZQ84m5K3eArcdz+q20=";
|
|
};
|
|
|
|
vendorHash = "sha256-xJNcFX+sZjZwXFTNrhsDnj3eR/r8+NH6tzpEJOhtkeY=";
|
|
|
|
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";
|
|
};
|
|
}
|