bingo: 0.5.2 -> 0.6.0
This commit is contained in:
parent
514a8857fe
commit
fb838c9d1a
2 changed files with 18 additions and 3 deletions
13
pkgs/development/tools/bingo/bingo_version.patch
Normal file
13
pkgs/development/tools/bingo/bingo_version.patch
Normal file
|
@ -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")
|
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue