gnu: sshuttle: Improve package style.
* gnu/packages/vpn.scm (sshuttle) [arguments]: Use G-expressions. Change-Id: Ia8961e3382116d0f1e67a7feb181f1e0fd6a5cafmaster
parent
103595d868
commit
54fe562019
|
@ -995,15 +995,14 @@ private network between hosts on the internet.")
|
||||||
(base32 "01hd7z7gxkc2bjxndnv5dw1x98qcakxli9k8w285iq2b7d786f7f"))))
|
(base32 "01hd7z7gxkc2bjxndnv5dw1x98qcakxli9k8w285iq2b7d786f7f"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list #:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-FHS-file-names
|
(add-after 'unpack 'patch-FHS-file-names
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "sshuttle/client.py"
|
(substitute* "sshuttle/client.py"
|
||||||
(("/usr/bin/env") (which "env")))
|
(("/usr/bin/env") (which "env")))
|
||||||
(substitute* "sshuttle/ssh.py"
|
(substitute* "sshuttle/ssh.py"
|
||||||
(("/bin/sh") "sh"))
|
(("/bin/sh") "sh")))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-setuptools-scm
|
(list python-setuptools-scm
|
||||||
;; For tests only.
|
;; For tests only.
|
||||||
|
|
Reference in New Issue