nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 707 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "pom"; 9 version = "0.1.0-unstable-2024-05-17"; 10 11 src = fetchFromGitHub { 12 owner = "maaslalani"; 13 repo = "pom"; 14 rev = "699204a6db4f942ee6a6bf0dc389709ab6e1663f"; 15 hash = "sha256-Qc4gU2oCgI/B788NuEqB+FoAYZQ84m5K3eArcdz+q20="; 16 }; 17 18 vendorHash = "sha256-xJNcFX+sZjZwXFTNrhsDnj3eR/r8+NH6tzpEJOhtkeY="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 "-X=main.Version=${version}" 24 ]; 25 26 meta = { 27 description = "Pomodoro timer in your terminal"; 28 homepage = "https://github.com/maaslalani/pom"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ 31 redyf 32 ]; 33 mainProgram = "pom"; 34 }; 35}