Merge pull request #141594 from lrewega/lrewega/bump-buf

This commit is contained in:
Artturi
2021-11-08 22:18:37 +02:00
committed by GitHub
2 changed files with 11 additions and 7 deletions

View File

@@ -6748,6 +6748,12 @@
githubId = 10626; githubId = 10626;
name = "Andreas Wagner"; name = "Andreas Wagner";
}; };
lrewega = {
email = "lrewega@c32.ca";
github = "lrewega";
githubId = 639066;
name = "Luke Rewega";
};
lromor = { lromor = {
email = "leonardo.romor@gmail.com"; email = "leonardo.romor@gmail.com";
github = "lromor"; github = "lromor";

View File

@@ -9,15 +9,15 @@
buildGoModule rec { buildGoModule rec {
pname = "buf"; pname = "buf";
version = "0.54.1"; version = "1.0.0-rc7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bufbuild"; owner = "bufbuild";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-v8n1K2YrN8o4IPA2u6Sg5zsOM08nppg29vlU6ycMj9U="; sha256 = "sha256-ufXz9+WI4NARkQg36mPhGncL7G9fWjDX9Ka/EJdsTvk=";
}; };
vendorSha256 = "sha256-WLQ8Bw/UgRVTFEKpDbv6VZkMHQm2tgxekH3J7Sd5vC8="; vendorSha256 = "sha256-wycrRCL7Mjx0QR5Y64WylpmDtKNh010mNxWAg6ekrds=";
patches = [ patches = [
# Skip a test that requires networking to be available to work. # Skip a test that requires networking to be available to work.
@@ -47,9 +47,7 @@ buildGoModule rec {
for FILE in \ for FILE in \
"buf" \ "buf" \
"protoc-gen-buf-breaking" \ "protoc-gen-buf-breaking" \
"protoc-gen-buf-lint" \ "protoc-gen-buf-lint"; do
"protoc-gen-buf-check-breaking" \
"protoc-gen-buf-check-lint"; do
cp "$GOPATH/bin/$FILE" "$out/bin/" cp "$GOPATH/bin/$FILE" "$out/bin/"
done done
@@ -63,6 +61,6 @@ buildGoModule rec {
changelog = "https://github.com/bufbuild/buf/releases/tag/v${version}"; changelog = "https://github.com/bufbuild/buf/releases/tag/v${version}";
description = "Create consistent Protobuf APIs that preserve compatibility and comply with design best-practices"; description = "Create consistent Protobuf APIs that preserve compatibility and comply with design best-practices";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ raboof jk ]; maintainers = with maintainers; [ raboof jk lrewega ];
}; };
} }