2016-07-05 12:24:21 +01: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 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
|
|
|
};
|
|
|
|
}
|