2021-02-13 19:48:50 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2016-07-05 11:24:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "proxychains";
|
2021-02-13 19:48:50 +00:00
|
|
|
version = "4.4.0";
|
2016-07-05 11:24:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haad";
|
2021-02-13 19:48:50 +00:00
|
|
|
repo = pname;
|
2019-08-15 12:41:18 +00:00
|
|
|
rev = "${pname}-${version}";
|
2021-02-13 19:48:50 +00:00
|
|
|
sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw";
|
2009-01-12 21:12:07 +00:00
|
|
|
};
|
|
|
|
|
2016-11-25 03:30:11 +00:00
|
|
|
postPatch = ''
|
2021-02-13 19:48:50 +00:00
|
|
|
# Suppress compiler warning. Remove it when upstream fix arrives
|
|
|
|
substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
|
2016-11-25 03:30:11 +00:00
|
|
|
'';
|
2021-02-13 19:48:50 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Proxifier for SOCKS proxies";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://proxychains.sourceforge.net";
|
2021-02-13 19:48:50 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
platforms = platforms.linux;
|
2009-01-12 21:12:07 +00:00
|
|
|
};
|
|
|
|
}
|