nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 662 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5}: 6 7buildGoModule (finalAttrs: { 8 pname = "gh-webhook"; 9 version = "0.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "cli"; 13 repo = "gh-webhook"; 14 tag = "v${finalAttrs.version}"; 15 hash = "sha256-y/lJmLxuTIZoxkxSksLxZ7nOBfOOSMD8Z08Ku9f0na8="; 16 }; 17 18 vendorHash = "sha256-MAvrtuxB0iH+1ESYrE1JZFUE1Jy8TaAAnhTuwsh+frc="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 ]; 24 25 meta = { 26 description = "GitHub CLI extension to chatter with Webhooks"; 27 homepage = "https://github.com/cli/gh-webhook"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ koi ]; 30 mainProgram = "gh-webhook"; 31 }; 32})