2023-04-29 16:46:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "udpx";
|
|
|
|
version = "1.0.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nullt3r";
|
|
|
|
repo = "udpx";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-IRnGi3TmCyxmJKAd8ZVRoSHDao+3Xt4F5QfHvNahvGo=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Single-packet UDP scanner";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "udpx";
|
2023-04-29 16:46:19 +00:00
|
|
|
homepage = "https://github.com/nullt3r/udpx";
|
|
|
|
changelog = "https://github.com/nullt3r/udpx/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|