diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-30 09:41:51 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-31 22:35:53 +0100 |
commit | ce62e827697209082ce10752484b528fe24c3aee (patch) | |
tree | b4e2cd10417e7f7dc939a6a0980e8138b4cc4839 /gnu | |
parent | 188ef6c71b17ced14fed9d0b7728ec8c65627207 (diff) |
gnu: shadowsocks: Fix the package.
* gnu/packages/networking.scm (shadowsocks)[arguments]
<#:tests>: Disable them.
<#:phases>: Add phase 'python-fixes.
Change-Id: I959eeb57a3859e68cf14efdf7700390143f0c4df
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/networking.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 6e9d4edb26..895ac2b2e6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3624,6 +3624,9 @@ asynchronous model using a modern C++ approach.") (build-system python-build-system) (arguments (list + ;; XXX: Package is deprecated, but it might be a good thing to try and + ;; keep it. + #:tests? #f #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-crypto-paths @@ -3631,7 +3634,12 @@ asynchronous model using a modern C++ approach.") (substitute* "shadowsocks/shell.py" (("config\\.get\\('libopenssl', None\\)") (format #f "config.get('libopenssl', ~s)" - (search-input-file inputs "lib/libssl.so"))))))))) + (search-input-file inputs "lib/libssl.so")))))) + (add-after 'unpack 'python-fixes + (lambda _ + (substitute* "shadowsocks/lru_cache.py" + (("collections\\.MutableMapping") + "collections.abc.MutableMapping"))))))) (inputs (list openssl)) (home-page "https://github.com/shadowsocks/shadowsocks") (synopsis "Fast tunnel proxy that helps you bypass firewalls") |