nixpkgs-suyu/pkgs/tools/networking/pathvector/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
773 B
Nix
Raw Normal View History

2022-04-17 02:38:58 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pathvector";
2022-08-01 21:13:12 +02:00
version = "6.0.2";
2022-04-17 02:38:58 +02:00
src = fetchFromGitHub {
owner = "natesales";
repo = "pathvector";
rev = "v${version}";
2022-08-01 21:13:12 +02:00
sha256 = "sha256-Rr7SVvi2K20qFTd4Gd2BzBTVIa/lCeBAJHLZ6iV2aSw=";
2022-04-17 02:38:58 +02:00
};
2022-07-29 17:14:29 +02:00
vendorSha256 = "sha256-bqfYILEGgbnla7EUrzjIO2mMAuL6e4WI2OHUwOr6i+g=";
2022-04-17 02:38:58 +02:00
CGO_ENABLED = 0;
ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}" "-X main.date=unknown" ];
doCheck = false;
meta = with lib; {
description = "Declarative edge routing platform that automates route optimization and control plane configuration";
homepage = "https://pathvector.io";
license = licenses.gpl3;
maintainers = with maintainers; [ matthewpi ];
};
}