blob: 8b6e6f115c198aad18a917842b6171f77d7b0b6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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";
};
}
|