Skip to content

Commit

Permalink
stayrtr: 0.5.1 -> 0.6.1 (#348291)
Browse files Browse the repository at this point in the history
* stayrtr: 0.5.1 -> 0.6.1

* stayrtr: refactor and convert to by-name

* stayrtr: reformat with nixfmt-rfc-style
  • Loading branch information
0x4A6F authored Nov 6, 2024
1 parent 1f53d0a commit 6ca4a96
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
{ lib
, fetchFromGitHub
, buildGoModule
, stayrtr
, testers
{
lib,
fetchFromGitHub,
buildGoModule,
stayrtr,
testers,
}:

buildGoModule rec {
pname = "stayrtr";
version = "0.5.1";
version = "0.6.1";

src = fetchFromGitHub {
owner = "bgp";
repo = "stayrtr";
rev = "v${version}";
hash = "sha256-/KwL/SEnHquFhPcYXpvQs71W4K1BrbqTPakatTNF47Q=";
hash = "sha256-uNZe3g8hs9c0uXrkWSTA+e/gziOpWqx5oFIJ2ZPgEzU=";
};
vendorHash = "sha256-ndMME9m3kbv/c1iKlU2Pn/YoiRQy7jfVQri3M+qhujk=";

patches = [
./go.mod.patch
];
vendorHash = "sha256-0PtQzwBhUoASUMnAAVZ4EIDmqIEaH0nct2ngyIkR+Qg=";

ldflags = [
"-s"
Expand All @@ -32,9 +29,11 @@ buildGoModule rec {
};

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/";
license = licenses.bsd3;
mainProgram = "stayrtr";
maintainers = with maintainers; [ _0x4A6F ];
};
}
30 changes: 0 additions & 30 deletions pkgs/servers/stayrtr/go.mod.patch

This file was deleted.

2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38205,8 +38205,6 @@ with pkgs;

sieveshell = with python3.pkgs; toPythonApplication managesieve;

stayrtr = callPackage ../servers/stayrtr { };

sunshine = callPackage ../servers/sunshine { };

sentencepiece = callPackage ../development/libraries/sentencepiece { };
Expand Down

0 comments on commit 6ca4a96

Please sign in to comment.