3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/proxychains/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
702 B
Nix
Raw Normal View History

2021-02-13 19:48:50 +00:00
{ lib
, stdenv
, fetchFromGitHub
}:
2016-07-05 12:24:21 +01:00
stdenv.mkDerivation rec {
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;
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;
};
}