scion-bootstrapper: small improvements
- Add update script - Add NGI team - Use finalAttrs
This commit is contained in:
@@ -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";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user