Merge pull request #219055 from 0x4A6F/master-stayrtr
stayrtr: 0.4.0 -> 0.5.1
This commit is contained in:
commit
88c9f2cf91
2 changed files with 37 additions and 3 deletions
|
@ -7,15 +7,19 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "stayrtr";
|
||||
version = "0.4.0";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bgp";
|
||||
repo = "stayrtr";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-oRFBvue5Tcgty1GgsZGb/CMHmKM0mIc5vWOMsL/0IfI=";
|
||||
hash = "sha256-/KwL/SEnHquFhPcYXpvQs71W4K1BrbqTPakatTNF47Q=";
|
||||
};
|
||||
vendorHash = "sha256-VomrmyNa5I6AVSpw5sg0e4b7w/JlFQINBYm+eh1FoNw=";
|
||||
vendorHash = "sha256-ndMME9m3kbv/c1iKlU2Pn/YoiRQy7jfVQri3M+qhujk=";
|
||||
|
||||
patches = [
|
||||
./go.mod.patch
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
|
30
pkgs/servers/stayrtr/go.mod.patch
Normal file
30
pkgs/servers/stayrtr/go.mod.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
diff --git a/go.mod b/go.mod
|
||||
index 0116218..3e31f0e 100644
|
||||
--- a/go.mod
|
||||
+++ b/go.mod
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/bgp/stayrtr
|
||||
|
||||
-go 1.16
|
||||
+go 1.17
|
||||
|
||||
require (
|
||||
github.com/google/go-cmp v0.5.6
|
||||
@@ -10,3 +10,17 @@ require (
|
||||
golang.org/x/crypto v0.6.0
|
||||
golang.org/x/sys v0.5.0
|
||||
)
|
||||
+
|
||||
+require (
|
||||
+ github.com/beorn7/perks v1.0.1 // indirect
|
||||
+ github.com/cespare/xxhash/v2 v2.1.1 // indirect
|
||||
+ github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
+ github.com/golang/protobuf v1.4.3 // indirect
|
||||
+ github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
||||
+ github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
+ github.com/prometheus/client_model v0.2.0 // indirect
|
||||
+ github.com/prometheus/common v0.26.0 // indirect
|
||||
+ github.com/prometheus/procfs v0.6.0 // indirect
|
||||
+ google.golang.org/protobuf v1.26.0-rc.1 // indirect
|
||||
+ gopkg.in/yaml.v2 v2.3.0 // indirect
|
||||
+)
|
Loading…
Reference in a new issue