gnu: Add go-golang-zx2c4-com-wireguard.

* gnu/packages/golang.scm (go-golang-zx2c4-com-wireguard): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
raingloom 2020-11-05 14:48:39 +01:00 committed by Julien Lepiller
parent 1ce9759407
commit 546ddefc76
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -5979,3 +5979,33 @@ (define-public go-github-com-hjson-hjson-go
used like a user interface for humans, to read and edit before passing the
JSON data to the machine.")
(license license:expat)))
(define-public go-golang-zx2c4-com-wireguard
(package
(name "go-golang-zx2c4-com-wireguard")
(version "0.0.20200320")
(source
(origin
(method git-fetch)
;; NOTE: module URL is a redirect
;; target: git.zx2c4.com/wireguard-go
;; source: golang.zx2c4.com/wireguard
(uri (git-reference
(url "https://git.zx2c4.com/wireguard-go/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.zx2c4.com/wireguard"))
(propagated-inputs
`(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
("go-golang-org-x-net" ,go-golang-org-x-net)
("go-golang-org-x-sys" ,go-golang-org-x-sys)
("go-golang-org-x-text" ,go-golang-org-x-text)))
(home-page "https://git.zx2c4.com/wireguard")
(synopsis "Implementation of WireGuard in Go")
(description "This package is a Go Implementation of WireGuard.")
(license license:expat)))