stayrtr: init at 0.3.0

This commit is contained in:
0x4A6F 2021-11-23 17:43:56 +01:00
parent 8de28c106a
commit 8039e186a1
No known key found for this signature in database
GPG key ID: 8DEDBA5BE07080E1
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, fetchFromGitHub
, buildGoModule
, stayrtr
, testVersion
}:
buildGoModule rec {
pname = "stayrtr";
version = "0.3.0";
src = fetchFromGitHub {
owner = "bgp";
repo = "stayrtr";
rev = "v${version}";
sha256 = "10ndb8p7znnjycwg56m63gzqf9zc6lq9mcvz4n48j0c4il5xyn8x";
};
vendorSha256 = "1nwrzbpqycr4ixk8a90pgaxcwakv5nlfnql6hmcc518qrva198wp";
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
passthru.tests.version = testVersion {
package = stayrtr;
};
meta = with lib; {
description = "Simple RPKI-To-Router server. (Hard fork of GoRTR)";
homepage = "https://github.com/bgp/stayrtr/";
license = licenses.bsd3;
maintainers = with maintainers; [ _0x4A6F ];
};
}

View file

@ -33668,6 +33668,8 @@ with pkgs;
gortr = callPackage ../servers/gortr {};
stayrtr = callPackage ../servers/stayrtr {};
sentencepiece = callPackage ../development/libraries/sentencepiece {};
kcli = callPackage ../development/tools/kcli {};