mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: torsocks: Wrap lines.
* gnu/packages/tor.scm (torsocks)[source, arguments]: Wrap long lines and remove a trailing #t.
This commit is contained in:
parent
ae549cf48f
commit
0e53328a8a
1 changed files with 16 additions and 14 deletions
|
@ -162,26 +162,28 @@ (define-public torsocks
|
|||
(package
|
||||
(name "torsocks")
|
||||
(version "2.4.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v"
|
||||
version "/torsocks-v" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1a7k3njdhp7dz603knhisna1zvxw35j3g213p6dvczv9bcjy7cjl"))))
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v"
|
||||
version "/torsocks-v" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1a7k3njdhp7dz603knhisna1zvxw35j3g213p6dvczv9bcjy7cjl"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
(list libcap))
|
||||
(native-inputs
|
||||
(list autoconf automake libtool))
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-after 'build 'absolutize
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "src/bin/torsocks"
|
||||
(("getcap=.*")
|
||||
(string-append "getcap=" (which "getcap") "\n")))
|
||||
#t)))))
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'build 'absolutize
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "src/bin/torsocks"
|
||||
(("getcap=.*")
|
||||
(string-append "getcap=" (which "getcap") "\n"))))))))
|
||||
(home-page "https://www.torproject.org/")
|
||||
(synopsis "Transparently route an application's traffic through Tor.")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue