mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: shadowsocks: Improve style.
* gnu/packages/networking.scm (shadowsocks): Run guix style. [arguments]: Use g-expressions. Change-Id: I947116bf1730aa42649d86af28522fe90af30378 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
694acea793
commit
188ef6c71b
1 changed files with 11 additions and 13 deletions
|
@ -3621,20 +3621,18 @@ asynchronous model using a modern C++ approach.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "02mp5905nz02d7amb4zc77rcrkxmvy8mf5rci7mvy58g24lvbw25"))
|
(base32 "02mp5905nz02d7amb4zc77rcrkxmvy8mf5rci7mvy58g24lvbw25"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(inputs
|
|
||||||
(list openssl))
|
|
||||||
(arguments
|
|
||||||
'(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'patch-crypto-paths
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(substitute* "shadowsocks/shell.py"
|
|
||||||
(("config\\.get\\('libopenssl', None\\)")
|
|
||||||
(format #f "config.get('libopenssl', ~s)"
|
|
||||||
(string-append
|
|
||||||
(assoc-ref inputs "openssl")
|
|
||||||
"/lib/libssl.so")))))))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-crypto-paths
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "shadowsocks/shell.py"
|
||||||
|
(("config\\.get\\('libopenssl', None\\)")
|
||||||
|
(format #f "config.get('libopenssl', ~s)"
|
||||||
|
(search-input-file inputs "lib/libssl.so")))))))))
|
||||||
|
(inputs (list openssl))
|
||||||
(home-page "https://github.com/shadowsocks/shadowsocks")
|
(home-page "https://github.com/shadowsocks/shadowsocks")
|
||||||
(synopsis "Fast tunnel proxy that helps you bypass firewalls")
|
(synopsis "Fast tunnel proxy that helps you bypass firewalls")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue