6 stdenv.mkDerivation rec {
8 # Latest release has an annoying segmentation fault bug, see:
9 # https://github.com/samyk/pwnat/pull/25 . Merging only #25 is impossible due
10 # to major code refactoring.
11 version = "2023-03-31";
13 src = fetchFromGitHub {
16 rev = "8ec62cdae53a2d573c9f9c906133ca45bbd3360a";
17 sha256 = "sha256-QodNw3ab8/TurKamg6AgMfQ08aalp4j6q663B+sWmRM=";
20 # See https://github.com/samyk/pwnat/issues/28
28 install -D pwnat $out/bin/pwnat
34 homepage = "http://samy.pl/pwnat/";
35 description = "ICMP NAT to NAT client-server communication";
36 license = lib.licenses.gpl3Plus;
38 platforms = with platforms; linux;
39 mainProgram = "pwnat";