nixpkgs/pkgs/by-name/ud/udpx/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
632 B
Nix
Raw Permalink Normal View History

2023-04-23 00:36:52 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "udpx";
version = "1.0.7";
src = fetchFromGitHub {
owner = "nullt3r";
repo = "udpx";
tag = "v${version}";
2023-04-23 00:36:52 +02:00
hash = "sha256-IRnGi3TmCyxmJKAd8ZVRoSHDao+3Xt4F5QfHvNahvGo=";
};
vendorHash = null;
ldflags = [
"-s"
"-w"
];
2025-06-06 21:58:04 +02:00
meta = {
2023-04-23 00:36:52 +02:00
description = "Single-packet UDP scanner";
mainProgram = "udpx";
2023-04-23 00:36:52 +02:00
homepage = "https://github.com/nullt3r/udpx";
changelog = "https://github.com/nullt3r/udpx/releases/tag/v${version}";
2025-06-06 21:58:04 +02:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
2023-04-23 00:36:52 +02:00
};
}