6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
13 rev = "${pname}-${version}";
14 sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw";
18 # https://github.com/NixOS/nixpkgs/issues/136093
19 ./swap-priority-4-and-5-in-get_config_path.patch
23 # Suppress compiler warning. Remove it when upstream fix arrives
24 substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
32 description = "Proxifier for SOCKS proxies";
33 homepage = "https://proxychains.sourceforge.net";
34 license = licenses.gpl2Plus;
35 maintainers = with maintainers; [ fab ];
36 platforms = platforms.linux;
37 mainProgram = "proxychains4";