nixpkgs/pkgs/tools/networking/proxychains-ng/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
966 B
Nix
Raw Normal View History

2021-09-13 08:09:04 +00:00
{ lib
, stdenv
, fetchFromGitHub
, 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
};
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 ];
platforms = platforms.linux ++ [ "aarch64-darwin" ];
2021-09-13 08:09:04 +00:00
};
}