@@ -1,6 +1,6 @@
11{ stdenv, python3Packages, fetchurl, makeWrapper, pandoc
2−, coreutils, iptables, nettools, openssh, procps }:
3−
2+, coreutils, iptables, nettools, openssh, procps, fetchpatch }:
3+
44python3Packages.buildPythonApplication rec {
55 name = "sshuttle-${version}";
66 version = "0.78.3";
@@ -10,7 +10,13 @@ python3Packages.buildPythonApplication rec {
1010 url = "mirror://pypi/s/sshuttle/${name}.tar.gz";
1111 };
1212
13− patches = [ ./sudo.patch ];
13+ patches = [
14+ ./sudo.patch
15+ (fetchpatch {
16+ url = "https://github.com/sshuttle/sshuttle/commit/91aa6ff625f7c89a19e6f8702425cfead44a146f.patch";
17+ sha256 = "0sqcc6kj53wlas2d3klbyilhns6vakzwbbp8y7j9wlmbnc530pks";
18+ })
19+ ];
1420
1521 nativeBuildInputs = [ makeWrapper pandoc python3Packages.setuptools_scm ];
1622 buildInputs =
@@ -29,7 +35,7 @@ python3Packages.buildPythonApplication rec {
2935 wrapProgram $out/bin/sshuttle \
3036 --prefix PATH : "${mapPath (x: "${x}/bin") buildInputs}" \
3137 '';
32−
38+
3339 meta = with stdenv.lib; {
3440 homepage = https://github.com/sshuttle/sshuttle/;
3541 description = "Transparent proxy server that works as a poor man's VPN";