stayrtr: 0.5.1 -> 0.6.1 (#348291)
* stayrtr: 0.5.1 -> 0.6.1 * stayrtr: refactor and convert to by-name * stayrtr: reformat with nixfmt-rfc-style
This commit is contained in:
parent
1f53d0a9f2
commit
6ca4a96533
@ -1,25 +1,22 @@
|
|||||||
{ lib
|
{
|
||||||
, fetchFromGitHub
|
lib,
|
||||||
, buildGoModule
|
fetchFromGitHub,
|
||||||
, stayrtr
|
buildGoModule,
|
||||||
, testers
|
stayrtr,
|
||||||
|
testers,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "stayrtr";
|
pname = "stayrtr";
|
||||||
version = "0.5.1";
|
version = "0.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bgp";
|
owner = "bgp";
|
||||||
repo = "stayrtr";
|
repo = "stayrtr";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-/KwL/SEnHquFhPcYXpvQs71W4K1BrbqTPakatTNF47Q=";
|
hash = "sha256-uNZe3g8hs9c0uXrkWSTA+e/gziOpWqx5oFIJ2ZPgEzU=";
|
||||||
};
|
};
|
||||||
vendorHash = "sha256-ndMME9m3kbv/c1iKlU2Pn/YoiRQy7jfVQri3M+qhujk=";
|
vendorHash = "sha256-0PtQzwBhUoASUMnAAVZ4EIDmqIEaH0nct2ngyIkR+Qg=";
|
||||||
|
|
||||||
patches = [
|
|
||||||
./go.mod.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
@ -32,9 +29,11 @@ buildGoModule rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple RPKI-To-Router server. (Hard fork of GoRTR)";
|
changelog = "https://github.com/bgp/stayrtr/releases/tag/v${version}";
|
||||||
|
description = "RPKI-To-Router server implementation in Go";
|
||||||
homepage = "https://github.com/bgp/stayrtr/";
|
homepage = "https://github.com/bgp/stayrtr/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
mainProgram = "stayrtr";
|
||||||
maintainers = with maintainers; [ _0x4A6F ];
|
maintainers = with maintainers; [ _0x4A6F ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -1,30 +0,0 @@
|
|||||||
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
|
|
||||||
+)
|
|
||||||
@ -38205,8 +38205,6 @@ with pkgs;
|
|||||||
|
|
||||||
sieveshell = with python3.pkgs; toPythonApplication managesieve;
|
sieveshell = with python3.pkgs; toPythonApplication managesieve;
|
||||||
|
|
||||||
stayrtr = callPackage ../servers/stayrtr { };
|
|
||||||
|
|
||||||
sunshine = callPackage ../servers/sunshine { };
|
sunshine = callPackage ../servers/sunshine { };
|
||||||
|
|
||||||
sentencepiece = callPackage ../development/libraries/sentencepiece { };
|
sentencepiece = callPackage ../development/libraries/sentencepiece { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user