summary refs log tree commit diff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-08-09 11:16:08 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-08-09 17:19:23 +0300
commitb186a8c52b9491d9cafa206335597cf577a9c2cf (patch)
tree2f82bbb3c96dc7a50acff1b6ebd778a69580ca43 /gnu/packages/golang.scm
parent159a9ec0b77d51cd8fab8cd5c3b214286a58e2b8 (diff)
downloadguix-b186a8c52b9491d9cafa206335597cf577a9c2cf.tar.gz
gnu: Add go-github-com-xanzy-ssh-agent.
* gnu/packages/golang.scm (go-github-com-xanzy-ssh-agent): New variable.
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 11712da048..0a7cf32e05 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5209,3 +5209,29 @@ extensions.")
 Importantly, this parser attempts to preserve comments in a given file, so you
 can manipulate a @file{ssh_config} file from a program.")
     (license license:expat)))
+
+(define-public go-github-com-xanzy-ssh-agent
+  (package
+    (name "go-github-com-xanzy-ssh-agent")
+    (version "0.2.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/xanzy/ssh-agent")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/xanzy/ssh-agent"))
+    (native-inputs
+     `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+    (home-page "https://github.com/xanzy/ssh-agent/")
+    (synopsis "Control ssh-agent from Go")
+    (description "Package agent implements the ssh-agent protocol, and
+provides both a client and a server.  The client can talk to a standard
+ssh-agent that uses UNIX sockets, and one could implement an alternative
+ssh-agent process using the sample server. ")
+    (license license:asl2.0)))