2021-09-13 08:09:04 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2022-05-13 17:47:48 +00:00
|
|
|
, fetchpatch
|
2021-09-13 08:09:04 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "proxychains-ng";
|
2022-01-23 15:29:19 +00:00
|
|
|
version = "4.16";
|
2021-09-13 08:09:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rofl0r";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-23 15:29:19 +00:00
|
|
|
sha256 = "sha256-uu/zN6W0ue526/3a9QeYg6J4HLaovZJVOYXksjouYok=";
|
2021-09-13 08:09:04 +00:00
|
|
|
};
|
|
|
|
|
2022-05-13 17:47:48 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch";
|
|
|
|
sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
installFlags = [
|
|
|
|
"install-config"
|
|
|
|
"install-zsh-completion"
|
|
|
|
];
|
|
|
|
|
2021-09-13 08:09:04 +00:00
|
|
|
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";
|
|
|
|
homepage = "https://github.com/rofl0r/proxychains-ng";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ zenithal ];
|
2022-01-12 18:04:39 +00:00
|
|
|
platforms = platforms.linux ++ [ "aarch64-darwin" ];
|
2021-09-13 08:09:04 +00:00
|
|
|
};
|
|
|
|
}
|