scion-bootstrapper: small improvements

- Add update script
- Add NGI team
- Use finalAttrs
This commit is contained in:
eljamm
2025-10-30 15:16:02 +01:00
parent 55064d4eff
commit 1031f9a885

View File

@@ -2,13 +2,14 @@
lib, lib,
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
nix-update-script,
# tests # tests
scion, scion,
openssl, openssl,
}: }:
buildGoModule rec { buildGoModule (finalAttrs: {
pname = "scion-bootstrapper"; pname = "scion-bootstrapper";
version = "0.0.8-unstable-2024-11-28"; version = "0.0.8-unstable-2024-11-28";
@@ -54,14 +55,17 @@ buildGoModule rec {
mv $out/bin/bootstrapper $out/bin/scion-bootstrapper mv $out/bin/bootstrapper $out/bin/scion-bootstrapper
''; '';
meta = with lib; { passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = {
description = "Bootstrapper for SCION network configuration"; description = "Bootstrapper for SCION network configuration";
homepage = "https://github.com/netsec-ethz/bootstrapper"; homepage = "https://github.com/netsec-ethz/bootstrapper";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
matthewcroughan matthewcroughan
sarcasticadmin sarcasticadmin
]; ];
teams = with lib.teams; [ ngi ];
mainProgram = "scion-bootstrapper"; mainProgram = "scion-bootstrapper";
}; };
} })