at 24.11-pre 29 lines 803 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "pathvector"; 5 version = "6.3.2"; 6 7 src = fetchFromGitHub { 8 owner = "natesales"; 9 repo = "pathvector"; 10 rev = "v${version}"; 11 sha256 = "sha256-TqGasguEAcA5ET2E/uFjgIl7IHI2v9m5EaXpIMG3T8c="; 12 }; 13 14 vendorHash = "sha256-hgUuntT6jMWI14qDE3Yjm5W8UqQ6CcvoILmSDaVEZac="; 15 16 CGO_ENABLED = 0; 17 18 ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}" "-X main.date=unknown" ]; 19 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Declarative edge routing platform that automates route optimization and control plane configuration"; 24 homepage = "https://pathvector.io"; 25 license = licenses.gpl3; 26 maintainers = with maintainers; [ matthewpi ]; 27 mainProgram = "pathvector"; 28 }; 29}