about summary refs log tree commit diff
path: root/third_party/gopkgs/gopkg.in/warnings/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/gopkg.in/warnings/default.nix')
-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 000000000000..1b4659d3d84d
--- /dev/null
+++ b/third_party/gopkgs/gopkg.in/warnings/default.nix
@@ -0,0 +1,12 @@
+{ depot, pkgs, ... }:
+
+depot.nix.buildGo.external {
+  path = "gopkg.in/warnings.v0";
+
+  src = pkgs.fetchFromGitHub {
+    owner = "go-warnings";
+    repo = "warnings";
+    rev = "27b9fabbdaf131d2169ec3ff7db8ffc4d839635e";
+    sha256 = "1y276jd9gwvjriz8yd98k3srgbnmbja8f7f7m6lvr0h5sbq3g3w9";
+  };
+}