Merge pull request #111083 from higebu/add-gobgp
This commit is contained in:
commit
94cafab3ad
|
@ -3657,6 +3657,12 @@
|
||||||
githubId = 3656888;
|
githubId = 3656888;
|
||||||
name = "hhm";
|
name = "hhm";
|
||||||
};
|
};
|
||||||
|
higebu = {
|
||||||
|
name = "Yuya Kusakabe";
|
||||||
|
email = "yuya.kusakabe@gmail.com";
|
||||||
|
github = "higebu";
|
||||||
|
githubId = 733288;
|
||||||
|
};
|
||||||
hinton = {
|
hinton = {
|
||||||
email = "t@larkery.com";
|
email = "t@larkery.com";
|
||||||
name = "Tom Hinton";
|
name = "Tom Hinton";
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
{ buildGoModule, fetchFromGitHub, lib }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "gobgp";
|
||||||
|
version = "2.23.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "osrg";
|
||||||
|
repo = "gobgp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0r7w1c3rh0wnsrhdpzr2fp1aqdqafrb42f2hra6xwwspr092ixq0";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "0dmd4r6x76jn8pyvp47x4llzc2wij5m9lchgyaagcb5sfdgbns9x";
|
||||||
|
|
||||||
|
postConfigure = ''
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildFlagsArray = ''
|
||||||
|
-ldflags=
|
||||||
|
-s -w -extldflags '-static'
|
||||||
|
'';
|
||||||
|
|
||||||
|
subPackages = [ "cmd/gobgp" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A CLI tool for GoBGP";
|
||||||
|
homepage = "https://osrg.github.io/gobgp/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ higebu ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -728,6 +728,8 @@ in
|
||||||
|
|
||||||
albert = libsForQt5.callPackage ../applications/misc/albert {};
|
albert = libsForQt5.callPackage ../applications/misc/albert {};
|
||||||
|
|
||||||
|
gobgp = callPackage ../tools/networking/gobgp { };
|
||||||
|
|
||||||
metapixel = callPackage ../tools/graphics/metapixel { };
|
metapixel = callPackage ../tools/graphics/metapixel { };
|
||||||
|
|
||||||
### APPLICATIONS/TERMINAL-EMULATORS
|
### APPLICATIONS/TERMINAL-EMULATORS
|
||||||
|
|
Loading…
Reference in New Issue