Files
nixpkgs/pkgs/tools/networking/proxychains/default.nix
T

25 lines
630 B
Nix
Raw Normal View History

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