mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
scion-bootstrapper: init at 0.0.7
This commit is contained in:
parent
7a2cfaf363
commit
df7c06fe94
34
pkgs/by-name/sc/scion-bootstrapper/package.nix
Normal file
34
pkgs/by-name/sc/scion-bootstrapper/package.nix
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue