buf: 1.4.0 -> 1.5.0
This commit is contained in:
parent
e6123938ca
commit
a833aefc2a
2 changed files with 8 additions and 10 deletions
|
@ -10,16 +10,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "buf";
|
pname = "buf";
|
||||||
version = "1.4.0";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bufbuild";
|
owner = "bufbuild";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-cKb9pZYEsO1thgtl/8XFJHpNrO6P3OR8Lox/Gf9ccYk=";
|
sha256 = "sha256-Jcj1tpcG64mSVn444isGsK9AcITh171ibECukv3bXDI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-zXLvKEdiIFnmwWQBgbJHCEBe2i7FobgeUOnA3LvHl8w=";
|
vendorSha256 = "sha256-aHGV8UfPn7xsySPXRSzsEpcaz1Ll49Mj1S9izvaIRWY=";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Skip a test that requires networking to be available to work.
|
# Skip a test that requires networking to be available to work.
|
||||||
|
@ -48,13 +48,9 @@ buildGoModule rec {
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
mkdir -p "$out/bin"
|
|
||||||
# Only install required binaries, don't install testing binaries
|
# Only install required binaries, don't install testing binaries
|
||||||
for FILE in \
|
for FILE in buf protoc-gen-buf-breaking protoc-gen-buf-lint; do
|
||||||
"buf" \
|
install -D -m 555 -t $out/bin $GOPATH/bin/$FILE
|
||||||
"protoc-gen-buf-breaking" \
|
|
||||||
"protoc-gen-buf-lint"; do
|
|
||||||
cp "$GOPATH/bin/$FILE" "$out/bin/"
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Completions
|
# Completions
|
||||||
|
|
|
@ -262,7 +262,9 @@ with pkgs;
|
||||||
|
|
||||||
breakpad = callPackage ../development/misc/breakpad { };
|
breakpad = callPackage ../development/misc/breakpad { };
|
||||||
|
|
||||||
buf = callPackage ../development/tools/buf { };
|
buf = callPackage ../development/tools/buf {
|
||||||
|
buildGoModule = buildGo118Module;
|
||||||
|
};
|
||||||
|
|
||||||
cfn-nag = callPackage ../development/tools/cfn-nag { };
|
cfn-nag = callPackage ../development/tools/cfn-nag { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue