lol

sshuttle: 1.1.2 -> 1.2.0 (#380452)

authored by

Nikolay Korotkiy and committed by
GitHub
97a86007 938b2abb

+8 -21
+8 -8
pkgs/by-name/ss/sshuttle/package.nix
··· 15 15 16 16 python3Packages.buildPythonApplication rec { 17 17 pname = "sshuttle"; 18 - version = "1.1.2"; 18 + version = "1.2.0"; 19 + pyproject = true; 19 20 20 21 src = fetchFromGitHub { 21 22 owner = "sshuttle"; 22 23 repo = "sshuttle"; 23 - rev = "v${version}"; 24 - hash = "sha256-7jiDTjtL4FiQ4GimSPtUDKPUA29l22a7XILN/s4/DQY="; 24 + tag = "v${version}"; 25 + hash = "sha256-xJxFtyLTqPozTaPZxAYZySKIo9c23dwEzn6GHpxW1OY="; 25 26 }; 26 27 27 - patches = [ ./sudo.patch ]; 28 + build-system = [ python3Packages.poetry-core ]; 28 29 29 30 nativeBuildInputs = [ 30 31 installShellFiles 31 32 makeWrapper 32 - python3Packages.setuptools-scm 33 33 sphinx 34 34 ]; 35 35 ··· 61 61 }" \ 62 62 ''; 63 63 64 - meta = with lib; { 64 + meta = { 65 65 description = "Transparent proxy server that works as a poor man's VPN"; 66 66 mainProgram = "sshuttle"; 67 67 longDescription = '' ··· 71 71 ''; 72 72 homepage = "https://github.com/sshuttle/sshuttle"; 73 73 changelog = "https://github.com/sshuttle/sshuttle/blob/v${version}/CHANGES.rst"; 74 - license = licenses.lgpl21Plus; 75 - maintainers = with maintainers; [ 74 + license = lib.licenses.lgpl21Plus; 75 + maintainers = with lib.maintainers; [ 76 76 domenkozar 77 77 carlosdagos 78 78 ];
-13
pkgs/by-name/ss/sshuttle/sudo.patch
··· 1 - diff --git i/sshuttle/client.py w/sshuttle/client.py 2 - index 29c3dfa..da813ed 100644 3 - --- i/sshuttle/client.py 4 - +++ w/sshuttle/client.py 5 - @@ -209,7 +209,7 @@ class FirewallClient: 6 - def __init__(self, method_name, sudo_pythonpath): 7 - self.auto_nets = [] 8 - 9 - - argvbase = ([sys.executable, sys.argv[0]] + 10 - + argvbase = ([sys.argv[0]] + 11 - ['-v'] * (helpers.verbose or 0) + 12 - ['--method', method_name] + 13 - ['--firewall'])