about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-21T12·47+0000
committerVincent Ambo <tazjin@google.com>2020-02-21T13·54+0000
commit4bbbb58cb537014dd8b0b3c3c560c039ac57ad89 (patch)
treeffd6c2c6758f655801ea6497b3dd9d2f2d04ebc9 /third_party/gopkgs/github.com
parent5d9d84f4cfdbed049e71ce6f15bb1ad8650f7acf (diff)
chore: Rename pkgs->depot in all Nix file headers r/559
Diffstat (limited to 'third_party/gopkgs/github.com')
-rw-r--r--third_party/gopkgs/github.com/emirpasic/gods/default.nix6
-rw-r--r--third_party/gopkgs/github.com/golang/groupcache/default.nix4
-rw-r--r--third_party/gopkgs/github.com/golang/protobuf/default.nix7
-rw-r--r--third_party/gopkgs/github.com/google/uuid/default.nix6
-rw-r--r--third_party/gopkgs/github.com/googleapis/gax-go/default.nix8
-rw-r--r--third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix6
-rw-r--r--third_party/gopkgs/github.com/jbenet/go-context/default.nix8
-rw-r--r--third_party/gopkgs/github.com/kevinburke/ssh_config/default.nix9
-rw-r--r--third_party/gopkgs/github.com/mitchellh/go-homedir/default.nix6
-rw-r--r--third_party/gopkgs/github.com/sergi/go-diff/default.nix6
-rw-r--r--third_party/gopkgs/github.com/src-d/gcfg/default.nix8
-rw-r--r--third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix8
12 files changed, 38 insertions, 44 deletions
diff --git a/third_party/gopkgs/github.com/emirpasic/gods/default.nix b/third_party/gopkgs/github.com/emirpasic/gods/default.nix
index 72979ef80df3..c43485ee5fd1 100644
--- a/third_party/gopkgs/github.com/emirpasic/gods/default.nix
+++ b/third_party/gopkgs/github.com/emirpasic/gods/default.nix
@@ -1,9 +1,9 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/emirpasic/gods";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "emirpasic";
     repo = "gods";
     rev = "4e23915b9a82f35f320a68a395a7a5045c826932";
diff --git a/third_party/gopkgs/github.com/golang/groupcache/default.nix b/third_party/gopkgs/github.com/golang/groupcache/default.nix
index 2dfa1241e9c1..8c0a639a320a 100644
--- a/third_party/gopkgs/github.com/golang/groupcache/default.nix
+++ b/third_party/gopkgs/github.com/golang/groupcache/default.nix
@@ -1,6 +1,6 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/golang/groupcache";
   src = builtins.fetchGit {
     url = "https://github.com/golang/groupcache";
diff --git a/third_party/gopkgs/github.com/golang/protobuf/default.nix b/third_party/gopkgs/github.com/golang/protobuf/default.nix
index f1c54cd496eb..3a405181b25c 100644
--- a/third_party/gopkgs/github.com/golang/protobuf/default.nix
+++ b/third_party/gopkgs/github.com/golang/protobuf/default.nix
@@ -1,12 +1,9 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/golang/protobuf";
   src = builtins.fetchGit {
     url = "https://github.com/golang/protobuf";
     rev = "ed6926b37a637426117ccab59282c3839528a700";
   };
-
-  deps = with pkgs.third_party; [
-  ];
 }
diff --git a/third_party/gopkgs/github.com/google/uuid/default.nix b/third_party/gopkgs/github.com/google/uuid/default.nix
index 8d60209681d9..f590b5749b44 100644
--- a/third_party/gopkgs/github.com/google/uuid/default.nix
+++ b/third_party/gopkgs/github.com/google/uuid/default.nix
@@ -1,9 +1,9 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/google/uuid";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "google";
     repo = "uuid";
     rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
diff --git a/third_party/gopkgs/github.com/googleapis/gax-go/default.nix b/third_party/gopkgs/github.com/googleapis/gax-go/default.nix
index fe694fdbbece..d897e155e986 100644
--- a/third_party/gopkgs/github.com/googleapis/gax-go/default.nix
+++ b/third_party/gopkgs/github.com/googleapis/gax-go/default.nix
@@ -1,16 +1,16 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
 let
-  inherit (pkgs) buildGo;
+  inherit (depot) buildGo;
   inherit (builtins) fetchGit;
-in pkgs.buildGo.external {
+in depot.buildGo.external {
   path = "github.com/googleapis/gax-go";
   src = fetchGit {
     url = "https://github.com/googleapis/gax-go";
     rev = "b443e5a67ec8eeac76f5f384004931878cab24b3";
   };
 
-  deps = with pkgs.third_party; [
+  deps = with depot.third_party; [
     gopkgs."golang.org".x.net.trace.gopkg
     gopkgs."google.golang.org".grpc.gopkg
     gopkgs."google.golang.org".grpc.codes.gopkg
diff --git a/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix b/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix
index 04efc3144d9a..4e8073f93a2f 100644
--- a/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix
+++ b/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix
@@ -1,13 +1,13 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/hashicorp/golang-lru";
   src = builtins.fetchGit {
     url = "https://github.com/hashicorp/golang-lru";
     rev = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d";
   };
 
-  deps = with pkgs.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; map (p: p.gopkg) [
     gopkgs."golang.org".x.net.context.ctxhttp
     gopkgs."cloud.google.com".go.compute.metadata
   ];
diff --git a/third_party/gopkgs/github.com/jbenet/go-context/default.nix b/third_party/gopkgs/github.com/jbenet/go-context/default.nix
index 454b27312a3c..4092f8ecff24 100644
--- a/third_party/gopkgs/github.com/jbenet/go-context/default.nix
+++ b/third_party/gopkgs/github.com/jbenet/go-context/default.nix
@@ -1,16 +1,16 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/jbenet/go-context";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "jbenet";
     repo = "go-context";
     rev = "d14ea06fba99483203c19d92cfcd13ebe73135f4";
     sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
   };
 
-  deps = with pkgs.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; map (p: p.gopkg) [
     gopkgs."golang.org".x.net.context
   ];
 }
diff --git a/third_party/gopkgs/github.com/kevinburke/ssh_config/default.nix b/third_party/gopkgs/github.com/kevinburke/ssh_config/default.nix
index ed8dadc40cae..a3371dea2224 100644
--- a/third_party/gopkgs/github.com/kevinburke/ssh_config/default.nix
+++ b/third_party/gopkgs/github.com/kevinburke/ssh_config/default.nix
@@ -1,15 +1,12 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/kevinburke/ssh_config";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "kevinburke";
     repo = "ssh_config";
     rev = "01f96b0aa0cdcaa93f9495f89bbc6cb5a992ce6e";
     sha256 = "1bxfjkjl3ibzdkwyvgdwawmd0skz30ah1ha10rg6fkxvj7lgg4jz";
   };
-
-  deps = with pkgs.third_party; map (p: p.gopkg) [
-  ];
 }
diff --git a/third_party/gopkgs/github.com/mitchellh/go-homedir/default.nix b/third_party/gopkgs/github.com/mitchellh/go-homedir/default.nix
index 0d94f6cf6e22..974f39c9197e 100644
--- a/third_party/gopkgs/github.com/mitchellh/go-homedir/default.nix
+++ b/third_party/gopkgs/github.com/mitchellh/go-homedir/default.nix
@@ -1,9 +1,9 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/mitchellh/go-homedir";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "mitchellh";
     repo = "go-homedir";
     rev = "af06845cf3004701891bf4fdb884bfe4920b3727";
diff --git a/third_party/gopkgs/github.com/sergi/go-diff/default.nix b/third_party/gopkgs/github.com/sergi/go-diff/default.nix
index 45f68891519e..c789fc5815ff 100644
--- a/third_party/gopkgs/github.com/sergi/go-diff/default.nix
+++ b/third_party/gopkgs/github.com/sergi/go-diff/default.nix
@@ -1,9 +1,9 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/sergi/go-diff";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "sergi";
     repo = "go-diff";
     rev = "58c5cb1602ee9676b5d3590d782bedde80706fcc";
diff --git a/third_party/gopkgs/github.com/src-d/gcfg/default.nix b/third_party/gopkgs/github.com/src-d/gcfg/default.nix
index 5dde56d5f3a7..2906063428de 100644
--- a/third_party/gopkgs/github.com/src-d/gcfg/default.nix
+++ b/third_party/gopkgs/github.com/src-d/gcfg/default.nix
@@ -1,16 +1,16 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/src-d/gcfg";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "src-d";
     repo = "gcfg";
     rev = "1ac3a1ac202429a54835fe8408a92880156b489d";
     sha256 = "044j95skmyrwjw5fwjk6ka32rjgsg0ar0mfp9np19sh1acwv4x4r";
   };
 
-  deps = with pkgs.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; map (p: p.gopkg) [
     gopkgs."gopkg.in".warnings
   ];
 }
diff --git a/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix b/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
index e179618a72a3..b52165efe39a 100644
--- a/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
+++ b/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
@@ -1,16 +1,16 @@
-{ pkgs, ... }:
+{ depot, ... }:
 
-pkgs.buildGo.external {
+depot.buildGo.external {
   path = "github.com/xanzy/ssh-agent";
 
-  src = pkgs.third_party.fetchFromGitHub {
+  src = depot.third_party.fetchFromGitHub {
     owner = "xanzy";
     repo = "ssh-agent";
     rev = "6a3e2ff9e7c564f36873c2e36413f634534f1c44";
     sha256 = "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av";
   };
 
-  deps = with pkgs.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; map (p: p.gopkg) [
     gopkgs."golang.org".x.crypto.ssh.agent
   ];
 }