mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
852 B
Nix
34 lines
852 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "proxychains-ng";
|
|
version = "4.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rofl0r";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cHRWPQm6aXsror0z+S2Ddm7w14c1OvEruDublWsvnXs=";
|
|
};
|
|
|
|
patches = [
|
|
# https://github.com/NixOS/nixpkgs/issues/136093
|
|
./swap-priority-4-and-5-in-get_config_path.patch
|
|
];
|
|
|
|
installFlags = [
|
|
"install-config"
|
|
"install-zsh-completion"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "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" ];
|
|
};
|
|
}
|