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