|
|
@ -16,17 +16,27 @@ stdenv.mkDerivation rec { |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
patches = [ |
|
|
|
|
|
|
|
# zsh completion |
|
|
|
(fetchpatch { |
|
|
|
(fetchpatch { |
|
|
|
url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch"; |
|
|
|
url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch"; |
|
|
|
sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo="; |
|
|
|
sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo="; |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
(fetchpatch { |
|
|
|
|
|
|
|
url = "https://github.com/rofl0r/proxychains-ng/commit/9b42da71f4df7b783cf07a58ffa095e293c43380.patch"; |
|
|
|
|
|
|
|
sha256 = "sha256-tYv9XP51WtsjaoklwQk3D/MQceoOvtdMwBraECt6AXQ="; |
|
|
|
|
|
|
|
}) |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
installFlags = [ |
|
|
|
installFlags = [ |
|
|
|
"install-config" |
|
|
|
"install-config" |
|
|
|
"install-zsh-completion" |
|
|
|
# TODO: check on next update if that works and remove postInstall |
|
|
|
|
|
|
|
# "install-zsh-completion" |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
postInstall = '' |
|
|
|
|
|
|
|
./tools/install.sh -D -m 644 completions/_proxychains $out/share/zsh/site_functions/_proxychains4 |
|
|
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
meta = with lib; { |
|
|
|
description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies"; |
|
|
|
description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies"; |
|
|
|
homepage = "https://github.com/rofl0r/proxychains-ng"; |
|
|
|
homepage = "https://github.com/rofl0r/proxychains-ng"; |
|
|
|