Files
nixpkgs/pkgs/by-name/ro/rotonda/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
1.6 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
nix-update-script,
testers,
rotonda,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rotonda";
version = "0.4.2";
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = "rotonda";
tag = "v${finalAttrs.version}";
hash = "sha256-B2sdQr9PctWZBpDuatJkUApW5T98BQa4HiqL8+HHevY=";
};
cargoHash = "sha256-XbBlA7QYUtD4uBz4t5ZR70o9bMgVLeSzq6Lexe0jzME=";
checkFlags =
lib.optionals
(stdenv.hostPlatform.system == "aarch64-darwin" || stdenv.hostPlatform.system == "x86_64-darwin")
[
# Attempted to create a NULL object.
"--skip=manager::tests::added_target_should_be_spawned"
# Lazy instance has previously been poisoned
"--skip=manager::tests::modified_settings_are_correctly_announced"
"--skip=manager::tests::removed_target_should_be_terminated"
"--skip=manager::tests::unused_unit_should_not_be_spawned"
];
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = rotonda;
command = "rotonda --version";
# tag/release with this version string, please revert to `inherit (finalAttrs) version;` on next release
version = "0.4.3-dev";
};
};
meta = {
description = "Composable, programmable BGP Engine";
homepage = "https://github.com/NLnetLabs/rotonda";
changelog = "https://github.com/NLnetLabs/rotonda/blob/refs/tags/${finalAttrs.src.tag}/Changelog.md";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ _0x4A6F ];
mainProgram = "rotonda";
};
})