blob: e9ca6f90e5a55a7d0af25563de31c0fddadb4c75 (
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
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pathvector";
version = "6.3.2";
src = fetchFromGitHub {
owner = "natesales";
repo = "pathvector";
rev = "v${version}";
sha256 = "sha256-TqGasguEAcA5ET2E/uFjgIl7IHI2v9m5EaXpIMG3T8c=";
};
vendorHash = "sha256-hgUuntT6jMWI14qDE3Yjm5W8UqQ6CcvoILmSDaVEZac=";
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 ];
mainProgram = "pathvector";
};
}
|