1 { lib, stdenv, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "andrewshadura";
10 rev = "${pname}-${version}";
11 sha256 = "191j1fpr3bw6fk48npl99z7iq6m1g33f15xk5cay1gnk5f46i2j6";
14 configureFlags = [ "--libdir=$(out)/lib" ];
15 nativeBuildInputs = [ autoreconfHook ];
18 description = "IPv4 to IPv6 interceptor";
19 homepage = "https://github.com/andrewshadura/tnat64";
20 license = licenses.gpl2Plus;
22 TNAT64 is an interceptor which redirects outgoing TCPv4 connections
23 through NAT64, thus enabling an application running on an IPv6-only host
24 to communicate with the IPv4 world, even if that application does not
27 platforms = platforms.unix;
28 badPlatforms = platforms.darwin;
29 maintainers = [ maintainers.rnhmjoj ];