5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
30 lines
720 B
Nix
30 lines
720 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nexttrace";
|
|
version = "1.2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sjlleo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-B3NHY4wYCa3lR3XPqhjcrgf9iA4Bz/8bKrwxdNSa1Bk=";
|
|
};
|
|
vendorHash = "sha256-8etZelvdUmHNWC0FnSX9oO3reuhB7xIzd/KxPTt6Szc=";
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|