2021-02-13 19:48:50 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2016-07-05 12:24:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "proxychains";
|
2021-02-13 19:48:50 +00:00
|
|
|
version = "4.4.0";
|
2016-07-05 12:24:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haad";
|
2021-02-13 19:48:50 +00:00
|
|
|
repo = pname;
|
2019-08-15 13:41:18 +01: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 10:49:53 +01:00
|
|
|
description = "Proxifier for SOCKS proxies";
|
2020-04-01 02:11:51 +01: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
|
|
|
};
|
|
|
|
}
|