buf: 0.54.1 -> 1.0.0-rc7

This commit is contained in:
Luke Rewega 2021-10-13 14:04:06 -04:00
parent 82de845f37
commit 383cbce57a

View file

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