mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
78f81c5bac
Closes #20355
25 lines
630 B
Nix
25 lines
630 B
Nix
{ stdenv, fetchFromGitHub } :
|
|
stdenv.mkDerivation rec {
|
|
name = "proxychains-${version}";
|
|
version = "4.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "haad";
|
|
repo = "proxychains";
|
|
rev = name;
|
|
sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
|
|
};
|
|
|
|
postPatch = ''
|
|
# Temporary work-around; most likely fixed by next upstream release
|
|
sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
|
|
'';
|
|
|
|
meta = {
|
|
description = "Proxifier for SOCKS proxies";
|
|
homepage = http://proxychains.sourceforge.net;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|