2016-07-05 11:24:21 +00:00
|
|
|
{ stdenv, fetchFromGitHub } :
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "proxychains-${version}";
|
|
|
|
version = "4.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haad";
|
|
|
|
repo = "proxychains";
|
|
|
|
rev = name;
|
|
|
|
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 09:49:53 +00:00
|
|
|
description = "Proxifier for SOCKS proxies";
|
2009-01-12 21:12:07 +00:00
|
|
|
homepage = http://proxychains.sourceforge.net;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-08-25 12:21:56 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-01-12 21:12:07 +00:00
|
|
|
};
|
|
|
|
}
|