bingo: 0.5.2 -> 0.6.0
This commit is contained in:
parent
514a8857fe
commit
fb838c9d1a
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 {
|
buildGoModule rec {
|
||||||
pname = "bingo";
|
pname = "bingo";
|
||||||
version = "0.5.2";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bwplotka";
|
owner = "bwplotka";
|
||||||
repo = "bingo";
|
repo = "bingo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-4D8YaA/AH1gIp5iwD7WEAdBl73sqwHpfOe7bnxVcRcw=";
|
sha256 = "sha256-t2nkY+mwek2NcbCwCkI3Mc1ULEJIjatBjChBdnKFAg8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-xrz9FpwZd+FboVVTWSqGHRguGwrwE9cSFEEtulzbfDQ=";
|
vendorSha256 = "sha256-TCbwIHDg2YaLIscCoGPRBv5G3YSJ+qn/koOjPh+KKRY=";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Do not execute `go` command when invoking `bingo version`.
|
# Do not execute `go` command when invoking `bingo version`.
|
||||||
./version_go.patch
|
./version_go.patch
|
||||||
|
# Specific to v0.6.0. `v0.6` -> `v0.6.0`
|
||||||
|
./bingo_version.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in a new issue