refactor(third_party): Consistent use of depot.third_party vs. pkgs
In preparation for the solution of b/108, we need to consistently use `depot.third_party` for packages that are only packed in the TVL depot and `pkgs` for things that come from nixpkgs. This commit cleans up a huge chunk of these uses in //third_party Change-Id: Ic382c0cdea7330a84d5f0b7d109c824ddceb94e7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2912 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
8d4b2f3d54
commit
8361b82d0a
47 changed files with 111 additions and 111 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/cenkalti/backoff/v4";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "cenkalti";
|
||||
repo = "backoff";
|
||||
rev = "18fe4ce5a8550e0d0919b680ad3c080a5455bddf";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/davecgh/go-spew";
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "davecgh";
|
||||
repo = "go-spew";
|
||||
rev = "8991bc29aa16c548c550c7ff78260e27b9ab7c73";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/emirpasic/gods";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "emirpasic";
|
||||
repo = "gods";
|
||||
rev = "4e23915b9a82f35f320a68a395a7a5045c826932";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/golang/glog";
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "golang";
|
||||
repo = "glog";
|
||||
rev = "23def4e6c14b4da8ac2ed8007337bc5eb5007998";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/google/uuid";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "uuid";
|
||||
rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/jbenet/go-context";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "jbenet";
|
||||
repo = "go-context";
|
||||
rev = "d14ea06fba99483203c19d92cfcd13ebe73135f4";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/kevinburke/ssh_config";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "kevinburke";
|
||||
repo = "ssh_config";
|
||||
rev = "01f96b0aa0cdcaa93f9495f89bbc6cb5a992ce6e";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/mitchellh/go-homedir";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "mitchellh";
|
||||
repo = "go-homedir";
|
||||
rev = "af06845cf3004701891bf4fdb884bfe4920b3727";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/pkg/browser";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "pkg";
|
||||
repo = "browser";
|
||||
rev = "0a3d74bf9ce488f035cf5bc36f753a711bc74334";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/sergi/go-diff";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "sergi";
|
||||
repo = "go-diff";
|
||||
rev = "58c5cb1602ee9676b5d3590d782bedde80706fcc";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/src-d/gcfg";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "src-d";
|
||||
repo = "gcfg";
|
||||
rev = "1ac3a1ac202429a54835fe8408a92880156b489d";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ depot, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
depot.nix.buildGo.external {
|
||||
path = "github.com/xanzy/ssh-agent";
|
||||
|
||||
src = depot.third_party.fetchFromGitHub {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "xanzy";
|
||||
repo = "ssh-agent";
|
||||
rev = "6a3e2ff9e7c564f36873c2e36413f634534f1c44";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue