nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 755 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule { 8 pname = "ethr"; 9 version = "1.0.0-unstable-2025-12-10"; 10 11 src = fetchFromGitHub { 12 owner = "microsoft"; 13 repo = "ethr"; 14 rev = "86e07049d11357f69da89317d55f11bed62e0007"; 15 hash = "sha256-lkhqPq2EDI3J8jiNx0Gygf8fDZvtZ2Pw3rRSt4HVBq8="; 16 }; 17 18 vendorHash = "sha256-UHZNe6vlqdYaHzt2IZ5HTQxqR0sf8m9Lfo5tXvpiFlg="; 19 20 # Strip symbol table and DWARF debug info to reduce binary size 21 ldflags = [ 22 "-s" 23 "-w" 24 ]; 25 26 meta = { 27 description = "Comprehensive Network Measurement Tool for TCP, UDP & ICMP"; 28 homepage = "https://github.com/microsoft/ethr"; 29 license = lib.licenses.mit; 30 maintainers = [ lib.maintainers.philiptaron ]; 31 mainProgram = "ethr"; 32 }; 33}