From fb5bd634ec0abfac2dafc6ce15ee356ea557121d Mon Sep 17 00:00:00 2001 From: 0x4A6F <0x4A6F@users.noreply.github.com> Date: Tue, 23 Jan 2024 21:42:17 +0100 Subject: [PATCH] rotonda: init at 0.1.0 --- pkgs/by-name/ro/rotonda/package.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/ro/rotonda/package.nix diff --git a/pkgs/by-name/ro/rotonda/package.nix b/pkgs/by-name/ro/rotonda/package.nix new file mode 100644 index 000000000000..f049049279d5 --- /dev/null +++ b/pkgs/by-name/ro/rotonda/package.nix @@ -0,0 +1,27 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "rotonda"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "NLnetLabs"; + repo = "rotonda"; + rev = "v${version}"; + hash = "sha256-bhuVzoEgDrfj4z2rfD+2agkXKNLZXN/MA+AxmEaeuLk="; + }; + + cargoHash = "sha256-0i1dFMPNUAMgTdZ+f9fg0DvvhkpCmlPOjYoyFvHT4v4="; + + meta = with lib; { + description = "Rotonda - composable, programmable BGP Engine"; + homepage = "https://github.com/NLnetLabs/rotonda"; + changelog = "https://github.com/NLnetLabs/rotonda/blob/${src.rev}/Changelog.md"; + license = licenses.mpl20; + maintainers = with maintainers; [ _0x4A6F ]; + mainProgram = "rotonda"; + }; +}