7 stdenv.mkDerivation (finalAttrs: {
11 src = fetchFromGitHub {
12 owner = "alex-sector";
14 rev = "v${finalAttrs.version}";
15 hash = "sha256-oBKkuQGVQNVzx8pds3qkZkZpwg8b44g1ovonrq2nqKw=";
19 # fixes gcc-10 build issues.
21 url = "https://salsa.debian.org/debian/dns2tcp/-/raw/86b518ce169e88488d71c6b0270d4fc814dc1fbc/debian/patches/01_fix_gcc10_issues.patch.";
22 hash = "sha256-IGpUIajkhruou7meZZJEJ5nnsQ/hVflyPfAuh3J0otI=";
24 # fixes some spelling errors.
26 url = "https://salsa.debian.org/debian/dns2tcp/-/raw/13481f37b7184e52b83cc0c41edfc6b20a5debed/debian/patches/fix_spelling_errors.patch";
27 hash = "sha256-b65olctlwLOY2GnVb7i7axGFiR0iLoTYstXdtVkU3vQ=";
33 description = "Tool for relaying TCP connections over DNS";
34 homepage = "https://github.com/alex-sector/dns2tcp";
35 license = licenses.gpl2Plus;
36 mainProgram = "dns2tcpc";
37 maintainers = with maintainers; [ d3vil0p3r ];
38 platforms = platforms.unix;