2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub } :
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "proxychains";
|
|
|
|
version = "4.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haad";
|
|
|
|
repo = "proxychains";
|
|
|
|
rev = "${pname}-${version}";
|
|
|
|
sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
# Temporary work-around; most likely fixed by next upstream release
|
|
|
|
sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
|
|
|
|
'';
|
2020-11-30 08:33:03 +00:00
|
|
|
postInstall = ''
|
|
|
|
cp src/proxychains.conf $out/etc
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Proxifier for SOCKS proxies";
|
|
|
|
homepage = "http://proxychains.sourceforge.net";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|