gnu: wireguard-tools: Update to 1.0.20210914.
* gnu/packages/vpn.scm (wireguard-tools): Update to 1.0.20210914. [arguments]: Don't explicitly return #t from phases. Re-indent not to exceed 80 columns.master
parent
1eaf8eb7eb
commit
0fd3b422cf
|
@ -1016,7 +1016,7 @@ WireGuard was added to Linux 5.6.")
|
||||||
(define-public wireguard-tools
|
(define-public wireguard-tools
|
||||||
(package
|
(package
|
||||||
(name "wireguard-tools")
|
(name "wireguard-tools")
|
||||||
(version "1.0.20210424")
|
(version "1.0.20210914")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -1025,7 +1025,7 @@ WireGuard was added to Linux 5.6.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "12v0ykaz7phv1gqin35wf6ndgb9819vai17ynjxssq00xwcbsq43"))))
|
(base32 "1nafrb2naif0z7z3vijnlyp81z89ywzlagc64k4sqa3ayzn95sm0"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
|
@ -1043,27 +1043,27 @@ WireGuard was added to Linux 5.6.")
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; No configure script
|
(delete 'configure) ; no configure script
|
||||||
(delete 'configure)
|
|
||||||
(add-after 'install 'install-contrib-docs
|
(add-after 'install 'install-contrib-docs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(copy-recursively "contrib/"
|
(doc "/share/doc/wireguard-tools"))
|
||||||
(string-append out "/share/doc/wireguard-tools"))
|
(copy-recursively "contrib/" doc))))
|
||||||
#t)))
|
|
||||||
(add-after 'install 'wrap-wg-quick
|
(add-after 'install 'wrap-wg-quick
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(inputs-sbin (map (lambda (input)
|
(inputs-sbin (map (lambda (input)
|
||||||
(string-append (assoc-ref inputs input) "/sbin"))
|
(string-append (assoc-ref inputs input)
|
||||||
(list "resolvconf" "iproute" "procps"
|
"/sbin"))
|
||||||
"iptables")))
|
(list "iproute"
|
||||||
(coreutils (string-append (assoc-ref inputs "coreutils")
|
"iptables"
|
||||||
"/bin")))
|
"procps"
|
||||||
|
"resolvconf")))
|
||||||
|
(coreutils (string-append (assoc-ref inputs "coreutils")
|
||||||
|
"/bin")))
|
||||||
(wrap-program (string-append out "/bin/wg-quick")
|
(wrap-program (string-append out "/bin/wg-quick")
|
||||||
`("PATH" ":" prefix ,(append inputs-sbin
|
`("PATH" ":" prefix ,(append inputs-sbin
|
||||||
(list coreutils))))
|
(list coreutils))))))))))
|
||||||
#t))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("resolvconf" ,openresolv)
|
`(("resolvconf" ,openresolv)
|
||||||
("coreutils" ,coreutils)
|
("coreutils" ,coreutils)
|
||||||
|
|
Reference in New Issue