summary refs log tree commit diff
path: root/gnu/packages/syncthing.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-10-11 20:18:25 -0400
committerLeo Famulari <leo@famulari.name>2017-10-12 21:22:53 -0400
commit3ce463908af55d8711f7f802b3f7414de5d20185 (patch)
tree4801061bcdaaa85e5ef3f620daa336e188de66ee /gnu/packages/syncthing.scm
parent936e02b4802c9a2df0031b12870d0c24f4c16844 (diff)
downloadguix-3ce463908af55d8711f7f802b3f7414de5d20185.tar.gz
gnu: Add go-github-com-xtaci-smux.
* gnu/packages/syncthing.scm (go-github-com-xtaci-smux): New variable.
Diffstat (limited to 'gnu/packages/syncthing.scm')
-rw-r--r--gnu/packages/syncthing.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index acfa1e0c9a..899e4e631d 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1319,6 +1319,34 @@ rolling hash.")
       (home-page "https://github.com/templexxx/xor")
       (license expat))))
 
+(define-public go-github-com-xtaci-smux
+  (let ((commit "0f6b9aaecaaf354357adc7def9239011ad276776")
+        (revision "0"))
+    (package
+      (name "go-github-com-xtaci-smux")
+      (version (git-version "0.0.0" revision commit))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                 (url "https://github.com/xtaci/smux.git")
+                 (commit commit)))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32
+            "0wx9j0id2f5iqvyalhm4i80fr9k25klr7qqj8sd9acwp5vfl5fas"))))
+      (build-system go-build-system)
+      (propagated-inputs
+       `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)))
+      (arguments
+       '(#:import-path "github.com/xtaci/smux"))
+      (synopsis "Network multiplexing in Go")
+      (description "Smux ( Simple MUltipleXing) is a multiplexing library for
+Golang.  It relies on an underlying connection to provide reliability and
+ordering, such as TCP or KCP, and provides stream-oriented multiplexing.")
+      (home-page "https://github.com/xtaci/smux")
+      (license expat))))
+
 (define-public go-github-com-pkg-errors
   (let ((commit "ff09b135c25aae272398c51a07235b90a75aa4f0")
         (revision "0"))