git.iko.soy/typeable/nixpkgs
on master help sign in
proxychains: 4.2.0 -> 4.4.0
commit7eaa45b2b06d5abce71c953d1f526e4630d45d82 authorFabian Affolter <mail@fabian-affolter.ch> dateSat 13 Feb 2021, 20:48 (6 years ago) parent5852a21
1 file changed+15−9
pkgs/tools/networking/proxychains/default.nix+15−9
pkgs/tools/networking/proxychains/default.nix+15−9
@@ -1,27 +1,33 @@
1−{ lib, stdenv, fetchFromGitHub } :
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+}:
5+
26stdenv.mkDerivation rec {
37 pname = "proxychains";
4− version = "4.2.0";
8+ version = "4.4.0";
59
610 src = fetchFromGitHub {
711 owner = "haad";
8− repo = "proxychains";
12+ repo = pname;
913 rev = "${pname}-${version}";
10− sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
14+ sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw";
1115 };
1216
1317 postPatch = ''
14− # Temporary work-around; most likely fixed by next upstream release
15− sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
18+ # Suppress compiler warning. Remove it when upstream fix arrives
19+ substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
1620 '';
21+
1722 postInstall = ''
1823 cp src/proxychains.conf $out/etc
1924 '';
2025
21− meta = {
26+ meta = with lib; {
2227 description = "Proxifier for SOCKS proxies";
2328 homepage = "http://proxychains.sourceforge.net";
24− license = lib.licenses.gpl2Plus;
25− platforms = lib.platforms.linux;
29+ license = licenses.gpl2Plus;
30+ maintainers = with maintainers; [ fab ];
31+ platforms = platforms.linux;
2632 };
2733}