mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: sshuttle: Improve package style.
* gnu/packages/vpn.scm (sshuttle) [arguments]: Use G-expressions. Change-Id: Ia8961e3382116d0f1e67a7feb181f1e0fd6a5caf
This commit is contained in:
parent
103595d868
commit
54fe562019
1 changed files with 8 additions and 9 deletions
|
@ -995,15 +995,14 @@ (define-public sshuttle
|
||||||
(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.
|
||||||
|
|
Loading…
Reference in a new issue