forked from the-distro/infra
Luke Granger-Brown
dd6ee53bfe
This does a bit more than advertised, since this also switches to a different set of Bazel package building infrastructure that I'm hoping will be more extensible than buildBazelPackage as it exists in nixpkgs today. In any case, the FOD here _seems_ to be much more stable than that previously produced by the old approach, but no promises :)
16 lines
493 B
Nix
16 lines
493 B
Nix
{ buildGerritBazelPlugin, fetchgit }:
|
|
|
|
buildGerritBazelPlugin rec {
|
|
name = "oauth";
|
|
version = "982316";
|
|
src = fetchgit {
|
|
url = "https://gerrit.googlesource.com/plugins/oauth";
|
|
rev = "98231604d60788bb43490f1a301d792817ac8008";
|
|
hash = "sha256-AuVO1Yys8BYqGHZI/adszCUg0JM2v4Td4fe26LdOPLM=";
|
|
};
|
|
depsHash = "sha256-qEeKQPyt3uIS+BStrputBUnE3ft5c4oeazgsWd+lbN8=";
|
|
postOverlayPlugin = ''
|
|
cp "${src}/external_plugin_deps.bzl" "$out/plugins/external_plugin_deps.bzl"
|
|
'';
|
|
}
|