about summary refs log tree commit diff
path: root/third_party/gopkgs/gopkg.in/warnings/default.nix
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/gopkg.in/warnings/default.nix
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 '')
-rw-r--r--third_party/gopkgs/gopkg.in/warnings/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/gopkgs/gopkg.in/warnings/default.nix b/third_party/gopkgs/gopkg.in/warnings/default.nix
new file mode 100644
index 0000000000..1299c2b541
--- /dev/null
+++ b/third_party/gopkgs/gopkg.in/warnings/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }:
+
+pkgs.buildGo.external {
+  path = "gopkg.in/warnings.v0";
+
+  src = pkgs.third_party.fetchFromGitHub {
+    owner = "go-warnings";
+    repo = "warnings";
+    rev = "27b9fabbdaf131d2169ec3ff7db8ffc4d839635e";
+    sha256 = "1y276jd9gwvjriz8yd98k3srgbnmbja8f7f7m6lvr0h5sbq3g3w9";
+  };
+}