aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-10-11 01:00:32 -0400
committerLeo Famulari <leo@famulari.name>2017-10-12 21:22:47 -0400
commitbde48edc0fc8f42209fd0173afa7572b6bf7df56 (patch)
tree0fbe25d7d69796cd419347378057a2a5ef1d3ef4
parent4a9c4dbe3beea4cb9809cdf2ce6105143f705ac9 (diff)
downloadguix-bde48edc0fc8f42209fd0173afa7572b6bf7df56.tar
guix-bde48edc0fc8f42209fd0173afa7572b6bf7df56.tar.gz
gnu: Add go-golang-org-x-sys-unix.
* gnu/packages/syncthing.scm (go-golang-org-x-sys-unix): New variable.
-rw-r--r--gnu/packages/syncthing.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 1a14fa90a7..f674152b45 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -408,3 +408,28 @@ using SIMD (Single instruction, multiple data) instructions for Intel and ARM
architectures.")
(home-page "https://github.com/minio/sha256-simd")
(license asl2.0))))
+
+(define-public go-golang-org-x-sys-unix
+ (let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
+ (revision "0"))
+ (package
+ (name "go-golang-org-x-sys-unix")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://go.googlesource.com/sys")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "02967mw0nq7hp39bcf8rdbid4jgz2fn6hd1x03mmavvca03scxbh"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "golang.org/x/sys/unix"
+ #:unpack-path "golang.org/x/sys"))
+ (synopsis "Go support for low-level system interaction")
+ (description "This package provides @code{unix}, which offers Go support
+for low-level interaction with the operating system.")
+ (home-page "https://go.googlesource.com/sys")
+ (license bsd-3))))