lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 49 lines 1.5 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, fetchpatch 5}: 6 7stdenv.mkDerivation rec { 8 pname = "proxychains-ng"; 9 version = "4.16"; 10 11 src = fetchFromGitHub { 12 owner = "rofl0r"; 13 repo = pname; 14 rev = "v${version}"; 15 sha256 = "sha256-uu/zN6W0ue526/3a9QeYg6J4HLaovZJVOYXksjouYok="; 16 }; 17 18 patches = [ 19 # zsh completion 20 (fetchpatch { 21 url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch"; 22 sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo="; 23 }) 24 (fetchpatch { 25 url = "https://github.com/rofl0r/proxychains-ng/commit/9b42da71f4df7b783cf07a58ffa095e293c43380.patch"; 26 sha256 = "sha256-tYv9XP51WtsjaoklwQk3D/MQceoOvtdMwBraECt6AXQ="; 27 }) 28 # https://github.com/NixOS/nixpkgs/issues/136093 29 ./swap-priority-4-and-5-in-get_config_path.patch 30 ]; 31 32 installFlags = [ 33 "install-config" 34 # TODO: check on next update if that works and remove postInstall 35 # "install-zsh-completion" 36 ]; 37 38 postInstall = '' 39 ./tools/install.sh -D -m 644 completions/_proxychains $out/share/zsh/site_functions/_proxychains4 40 ''; 41 42 meta = with lib; { 43 description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies"; 44 homepage = "https://github.com/rofl0r/proxychains-ng"; 45 license = licenses.gpl2Plus; 46 maintainers = with maintainers; [ zenithal ]; 47 platforms = platforms.linux ++ [ "aarch64-darwin" ]; 48 }; 49}