at 24.11-pre 909 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4}: 5 6stdenv.mkDerivation rec { 7 pname = "proxychains"; 8 version = "4.4.0"; 9 10 src = fetchFromGitHub { 11 owner = "haad"; 12 repo = pname; 13 rev = "${pname}-${version}"; 14 sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw"; 15 }; 16 17 patches = [ 18 # https://github.com/NixOS/nixpkgs/issues/136093 19 ./swap-priority-4-and-5-in-get_config_path.patch 20 ]; 21 22 postPatch = '' 23 # Suppress compiler warning. Remove it when upstream fix arrives 24 substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation" 25 ''; 26 27 installFlags = [ 28 "install-config" 29 ]; 30 31 meta = with lib; { 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"; 38 }; 39}