diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-04-23 00:36:52 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-04-23 00:36:52 +0200 |
commit | 00ee240c5e950cbb981806d9621beaae6e8bc27b (patch) | |
tree | 08e58b2cbd0988199511a1e24892cf76693b8f69 /pkgs/tools/security/udpx | |
parent | fe2ecaf706a5907b5e54d979fbde4924d84b65fc (diff) |
udpx: init at 1.0.7
Diffstat (limited to 'pkgs/tools/security/udpx')
-rw-r--r-- | pkgs/tools/security/udpx/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/security/udpx/default.nix b/pkgs/tools/security/udpx/default.nix new file mode 100644 index 0000000000000..081c002a09e5d --- /dev/null +++ b/pkgs/tools/security/udpx/default.nix @@ -0,0 +1,31 @@ +{ 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"; + homepage = "https://github.com/nullt3r/udpx"; + changelog = "https://github.com/nullt3r/udpx/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |