nixpkgs/pkgs/tools/networking/proxychains-ng/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

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" ];
};
}