Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 30 lines 720 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "nexttrace"; 5 version = "1.1.7-1"; 6 7 src = fetchFromGitHub { 8 owner = "sjlleo"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-ZMbX37gi9aGamDtoTdfUMiCPieP4DhjBSE5CIJLK6Z0="; 12 }; 13 vendorHash = "sha256-u5EIzYWr81tmMmImoRH0wT7aD3/0tx+W3CXeymWVACM="; 14 15 doCheck = false; # Tests require a network connection. 16 17 ldflags = [ 18 "-s" 19 "-w" 20 "-X github.com/xgadget-lab/nexttrace/config.Version=v${version}" 21 ]; 22 23 meta = with lib; { 24 description = "An open source visual route tracking CLI tool"; 25 homepage = "https://mtr.moe"; 26 license = licenses.gpl3Only; 27 maintainers = with maintainers; [ sharzy ]; 28 }; 29} 30