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

30 lines
702 B
Nix
Raw Normal View History

2021-02-13 19:48:50 +00:00
{ lib
, stdenv
, fetchFromGitHub
}:
2016-07-05 11:24:21 +00:00
stdenv.mkDerivation rec {
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;
rev = "${pname}-${version}";
2021-02-13 19:48:50 +00:00
sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw";
};
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"
'';
2021-02-13 19:48:50 +00:00
meta = with lib; {
description = "Proxifier for SOCKS proxies";
homepage = "http://proxychains.sourceforge.net";
2021-02-13 19:48:50 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}