about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/sergi/go-diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-19T16·25+0000
committerVincent Ambo <tazjin@google.com>2019-12-19T16·25+0000
commit36fa320e554bcba2abbe48c55b1b4311a9ce8d46 (patch)
tree1698d5fe52495154b4a9692c330dfa61180e18c8 /third_party/gopkgs/github.com/sergi/go-diff
parent3fb29b1843b3e800365776d26b0320f1518b77ec (diff)
feat(third_party): Add Go packages for src-d/go-git r/206
This is going to be used in my git syncing tool for the cgit setup.
Diffstat (limited to 'third_party/gopkgs/github.com/sergi/go-diff')
-rw-r--r--third_party/gopkgs/github.com/sergi/go-diff/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/gopkgs/github.com/sergi/go-diff/default.nix b/third_party/gopkgs/github.com/sergi/go-diff/default.nix
new file mode 100644
index 000000000000..45f68891519e
--- /dev/null
+++ b/third_party/gopkgs/github.com/sergi/go-diff/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }:
+
+pkgs.buildGo.external {
+  path = "github.com/sergi/go-diff";
+
+  src = pkgs.third_party.fetchFromGitHub {
+    owner = "sergi";
+    repo = "go-diff";
+    rev = "58c5cb1602ee9676b5d3590d782bedde80706fcc";
+    sha256 = "0ir8ali2vx0j7pipmlfd6k8c973akyy2nmbjrf008fm800zcp7z2";
+  };
+}