diff --git a/pkgs/by-name/ro/rotonda/package.nix b/pkgs/by-name/ro/rotonda/package.nix index 9c3bc5805c98..b5b6af2b74a6 100644 --- a/pkgs/by-name/ro/rotonda/package.nix +++ b/pkgs/by-name/ro/rotonda/package.nix @@ -2,27 +2,33 @@ lib, rustPlatform, fetchFromGitHub, + nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "rotonda"; - version = "0.1.0"; + version = "0.2.1"; src = fetchFromGitHub { owner = "NLnetLabs"; repo = "rotonda"; - rev = "v${version}"; - hash = "sha256-bhuVzoEgDrfj4z2rfD+2agkXKNLZXN/MA+AxmEaeuLk="; + tag = "v${version}"; + hash = "sha256-V/vHWscrajdjOtnfNs3tvGKC1WDNnUQlzHCEDGnjAuc="; }; - cargoHash = "sha256-0i1dFMPNUAMgTdZ+f9fg0DvvhkpCmlPOjYoyFvHT4v4="; + doCheck = false; + # Test can't be compiled - meta = with lib; { + passthru.updateScript = nix-update-script { }; + + cargoHash = "sha256-/9ge2FcCc1t2MP32juMa7yHyeOqhk9e5b5LEgjKryYc="; + + meta = { 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 ]; + changelog = "https://github.com/NLnetLabs/rotonda/blob/refs/tags/${src.tag}/Changelog.md"; + license = lib.licenses.mpl20; + maintainers = with lib.maintainers; [ _0x4A6F ]; mainProgram = "rotonda"; }; }