about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix')
-rw-r--r--third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix b/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
new file mode 100644
index 000000000000..e179618a72a3
--- /dev/null
+++ b/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
@@ -0,0 +1,16 @@
+{ pkgs, ... }:
+
+pkgs.buildGo.external {
+  path = "github.com/xanzy/ssh-agent";
+
+  src = pkgs.third_party.fetchFromGitHub {
+    owner = "xanzy";
+    repo = "ssh-agent";
+    rev = "6a3e2ff9e7c564f36873c2e36413f634534f1c44";
+    sha256 = "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av";
+  };
+
+  deps = with pkgs.third_party; map (p: p.gopkg) [
+    gopkgs."golang.org".x.crypto.ssh.agent
+  ];
+}