9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
30 lines
720 B
Nix
30 lines
720 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nexttrace";
|
|
version = "1.1.7-1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sjlleo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ZMbX37gi9aGamDtoTdfUMiCPieP4DhjBSE5CIJLK6Z0=";
|
|
};
|
|
vendorHash = "sha256-u5EIzYWr81tmMmImoRH0wT7aD3/0tx+W3CXeymWVACM=";
|
|
|
|
doCheck = false; # Tests require a network connection.
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/xgadget-lab/nexttrace/config.Version=v${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "An open source visual route tracking CLI tool";
|
|
homepage = "https://mtr.moe";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ sharzy ];
|
|
};
|
|
}
|
|
|