at 24.11-pre 31 lines 774 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "bingo"; 5 version = "0.9.0"; 6 7 src = fetchFromGitHub { 8 owner = "bwplotka"; 9 repo = "bingo"; 10 rev = "v${version}"; 11 hash = "sha256-bzh6P+J8EoewjOofwWXMgtSXAhESetD3y9EiqLNOT54="; 12 }; 13 14 vendorHash = "sha256-cDeeRkTwuwEKNTqK/6ZEKANrjTIUTeR3o5oClkJQ4AE="; 15 16 postPatch = '' 17 rm get_e2e_test.go get_e2e_utils_test.go 18 ''; 19 20 CGO_ENABLED = 0; 21 22 ldflags = [ "-s" "-w" ]; 23 24 meta = with lib; { 25 description = "Like `go get` but for Go tools! CI Automating versioning of Go binaries in a nested, isolated Go modules."; 26 mainProgram = "bingo"; 27 homepage = "https://github.com/bwplotka/bingo"; 28 license = licenses.asl20; 29 maintainers = with maintainers; [ aaronjheng ]; 30 }; 31}