2016-07-05 12:24:21 +01:00
|
|
|
{ stdenv, fetchFromGitHub } :
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "proxychains";
|
2016-07-05 12:24:21 +01:00
|
|
|
version = "4.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haad";
|
|
|
|
repo = "proxychains";
|
2019-08-15 13:41:18 +01:00
|
|
|
rev = "${pname}-${version}";
|
2016-07-05 12:24:21 +01:00
|
|
|
sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
|
2009-01-12 21:12:07 +00:00
|
|
|
};
|
|
|
|
|
2016-11-25 03:30:11 +00:00
|
|
|
postPatch = ''
|
|
|
|
# Temporary work-around; most likely fixed by next upstream release
|
|
|
|
sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
|
|
|
|
'';
|
|
|
|
|
2009-01-12 21:12:07 +00:00
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Proxifier for SOCKS proxies";
|
2009-01-12 21:12:07 +00:00
|
|
|
homepage = http://proxychains.sourceforge.net;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-08-25 13:21:56 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-01-12 21:12:07 +00:00
|
|
|
};
|
|
|
|
}
|