diff --git a/pkgs/development/tools/bingo/bingo_version.patch b/pkgs/development/tools/bingo/bingo_version.patch new file mode 100644 index 000000000000..a3d85df6a9ce --- /dev/null +++ b/pkgs/development/tools/bingo/bingo_version.patch @@ -0,0 +1,13 @@ +diff --git a/pkg/version/version.go b/pkg/version/version.go +index 30f8f30..11c12a0 100644 +--- a/pkg/version/version.go ++++ b/pkg/version/version.go +@@ -6,7 +6,7 @@ package version + import "github.com/Masterminds/semver" + + // Version returns 'bingo' version. +-const Version = "v0.6" ++const Version = "v0.6.0" + + var ( + Go114 = semver.MustParse("1.14") diff --git a/pkgs/development/tools/bingo/default.nix b/pkgs/development/tools/bingo/default.nix index 6e7ed39a221c..1b4ddd41c0e3 100644 --- a/pkgs/development/tools/bingo/default.nix +++ b/pkgs/development/tools/bingo/default.nix @@ -2,20 +2,22 @@ buildGoModule rec { pname = "bingo"; - version = "0.5.2"; + version = "0.6.0"; src = fetchFromGitHub { owner = "bwplotka"; repo = "bingo"; rev = "v${version}"; - sha256 = "sha256-4D8YaA/AH1gIp5iwD7WEAdBl73sqwHpfOe7bnxVcRcw="; + sha256 = "sha256-t2nkY+mwek2NcbCwCkI3Mc1ULEJIjatBjChBdnKFAg8="; }; - vendorSha256 = "sha256-xrz9FpwZd+FboVVTWSqGHRguGwrwE9cSFEEtulzbfDQ="; + vendorSha256 = "sha256-TCbwIHDg2YaLIscCoGPRBv5G3YSJ+qn/koOjPh+KKRY="; patches = [ # Do not execute `go` command when invoking `bingo version`. ./version_go.patch + # Specific to v0.6.0. `v0.6` -> `v0.6.0` + ./bingo_version.patch ]; postPatch = ''