Skip to content

Commit

Permalink
scion-bootstrapper: init at 0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCroughan authored and fricklerhandwerk committed Mar 30, 2024
1 parent 7a2cfaf commit df7c06f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/sc/scion-bootstrapper/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
pname = "scion-bootstrapper";
version = "0.0.7";

src = fetchFromGitHub {
owner = "netsec-ethz";
repo = "bootstrapper";
rev = "v${version}";
hash = "sha256-X4lNgd6klIw0NW9NVG+d1JK+WNfOclbu43GYucelB7o=";
};

vendorHash = "sha256-X4bOIvNlyQoAWOd3L6suE64KnlCV6kuE1ieVecVYWOw=";

doCheck = false;

ldflags = [ "-s" "-w" ];

postInstall = ''
mv $out/bin/bootstrapper $out/bin/scion-bootstrapper
'';

meta = with lib; {
description = "bootstrapper for SCION network configuration";
homepage = "https://github.com/netsec-ethz/bootstrapper";
license = licenses.asl20;
maintainers = with maintainers; [ matthewcroughan sarcasticadmin ];
mainProgram = "scion-bootstrapper";
};
}

0 comments on commit df7c06f

Please sign in to comment.