tvl-depot/third_party
Luke Granger-Brown a73ca3f43d feat(gerrit): Create Gerrit derivation.
This uses the actual Bazel build, using a variety of tricks and hacks to
make it actually work.

Bazel really wants to download linux binaries from the internet and run
them. In lieu of trying to fix the build system to not do this, we
instead put bazel inside an FHS environment, which allows the binaries
to find their dependencies.

We also have to patch a few things:

* We use build --nobuild instead of fetch, so we only fetch the
  dependencies we actually need for the build and not, say, Windows
  binaries.
* We don't remove rules_cc, because we need it as an external
  dependency, not bundled.
* We do some manual fixes on the cache before packing, because we need
  to remove some in-tree sources (so they don't cause the hash to break,
  since the hashes differ each time they're generated), and also remove
  some extraneous files.
* We explicitly turn off the repository and disk caches, because the
  .bazelrc at the root of the Gerrit tree turns them on, with paths
  pointing into the user's home directory.
* detzip is used instead of the zip binary for packing bower_components
  into an archive. detzip doesn't create entries for directories, and
  also doesn't store most metadata (timestamps, etc.), and uses store
  (i.e. uncompressed) compression only. It also sorts the file tree
  before writing them into the file.

Change-Id: I572c43f7175067ecb1b85cdf40dda13a52de1439
Reviewed-on: https://cl.tvl.fyi/c/depot/+/252
Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 16:35:55 +00:00
..
abseil_cpp refactor(3p/abseil_cpp): Inline Nix derivation 2020-05-27 21:52:44 +01:00
cgit fix(3p/cgit): Fix compilation under Clang 2020-06-03 02:24:00 +01:00
cpp/googleapis chore: Update from Clang 9 to Clang 10 for all projects 2020-05-22 18:29:47 +01:00
emacs feat(3p/emacs): Check in derivation for explain-pause-mode 2020-06-03 02:31:31 +01:00
farmhash feat(third_party): Add Google's farmhash library 2020-05-08 18:39:43 +01:00
ffmpeg feat(third_party/ffmpeg): Add "libnpp" support to ffmpeg 2020-04-04 02:36:20 +01:00
gerrit feat(gerrit): Create Gerrit derivation. 2020-06-14 16:35:55 +00:00
gerrit_plugins feat(3p/gerrit_plugins): Add derivations for Gerrit owners plugin 2020-06-13 18:59:12 +00:00
git revert(3p/git): Revert merge of git upstream at v2.26.2 2020-05-26 00:06:52 +01:00
glog feat(3p/glog): Check in derivation for glog 2020-05-29 21:50:49 +01:00
gopkgs chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
grpc feat(3p/grpc): Build gRPC using LLVM10 & libcxx 2020-06-07 17:14:48 +01:00
honk fix(third_party/honk): Create a fake $HOME 2020-04-19 23:37:25 +01:00
hound feat(3p/hound): Init hound package 2020-05-25 23:36:52 +01:00
lieer chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
lisp chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
naersk chore(3p/naersk): Update to latest 'master' 2020-05-25 23:36:20 +01:00
nix fix(3p/nix): passAsFile: leave out the hash prefix 2020-05-31 19:20:24 +01:00
nixery chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
notmuch chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
protobuf feat(3p/protobuf): Check in derivation for proto 3.12 with libcxx 2020-06-07 14:56:56 +01:00
python/broadlink feat(3p/python/broadlink): Add max_devices discovery parameter 2020-04-26 14:50:04 +01:00
smtprelay feat(nixos/smtprelay): Add derivation & module for SMTP relay 2020-06-13 01:23:01 +00:00
telega chore(third_party): Bump telega version 2020-04-04 21:34:05 +01:00
terraform-gcp chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
default.nix feat(gerrit): Create Gerrit derivation. 2020-06-14 16:35:55 +00:00
README.md docs(third_party): Add README 2019-06-29 14:12:38 +01:00

Third-Party Code

Code under this folder is one of the following:

  1. Externally developed dependencies which have been imported ("vendored") into this repository. These dependencies come with their own licenses and whatever else.

  2. Code that is developed inside of this repository, but released to an external repository via Copybara.