git.iko.soy/typeable/nixpkgs
on master help sign in
buf: 0.52.0 -> 0.54.1
commitc8b03e23b4a36a2f2edcf331c4566c79745d20c3 authorYusuf Bera Ertan <y.bera003.06@protonmail.com> dateFri 3 Sep 2021, 23:00 (5 years ago) parentbb1058f
3 files changed+14−14
pkgs/development/tools/buf/default.nix+3−3 pkgs/development/tools/buf/skip_test_requiring_dotgit.patch+6−6 pkgs/development/tools/buf/skip_test_requiring_network.patch+5−5
pkgs/development/tools/buf/default.nix+3−3
@@ -9,15 +9,15 @@
99
1010buildGoModule rec {
1111 pname = "buf";
12− version = "0.52.0";
12+ version = "0.54.1";
1313
1414 src = fetchFromGitHub {
1515 owner = "bufbuild";
1616 repo = pname;
1717 rev = "v${version}";
18− sha256 = "sha256-WFL+ztFR8kV6cRY1Ax2TheH+xpA58CLnW69jDpMhe3M=";
18+ sha256 = "sha256-v8n1K2YrN8o4IPA2u6Sg5zsOM08nppg29vlU6ycMj9U=";
1919 };
20− vendorSha256 = "sha256-vbphThpEYDDm1iipcY0QXhKKuLSD87sAxiIUi7SfrAc=";
20+ vendorSha256 = "sha256-WLQ8Bw/UgRVTFEKpDbv6VZkMHQm2tgxekH3J7Sd5vC8=";
2121
2222 patches = [
2323 # Skip a test that requires networking to be available to work.
pkgs/development/tools/buf/skip_test_requiring_dotgit.patch+6−6
@@ -1,14 +1,14 @@
1−diff --git a/internal/buf/cmd/buf/workspace_test.go b/internal/buf/cmd/buf/workspace_test.go
2−index e051690..8887837 100644
3−--- a/internal/buf/cmd/buf/workspace_test.go
4−+++ b/internal/buf/cmd/buf/workspace_test.go
5−@@ -335,6 +335,9 @@ func TestWorkspaceNestedArchive(t *testing.T) {
1+diff --git a/private/buf/cmd/buf/workspace_test.go b/private/buf/cmd/buf/workspace_test.go
2+index 25e33dd..f593beb 100644
3+--- a/private/buf/cmd/buf/workspace_test.go
4++++ b/private/buf/cmd/buf/workspace_test.go
5+@@ -340,6 +340,9 @@ func TestWorkspaceNestedArchive(t *testing.T) {
66 }
77
88 func TestWorkspaceGit(t *testing.T) {
99+ // Requires .git directory which we do not retain due to
1010+ // `leaveDotGit` non-determinism
1111+ t.Skip()
12+ t.Skip("skip until the move to private/buf is merged")
1213 // Directory paths specified as a git reference within a workspace.
1314 t.Parallel()
14− testRunStdout(
pkgs/development/tools/buf/skip_test_requiring_network.patch+5−5
@@ -1,8 +1,8 @@
1−diff --git a/internal/buf/internal/buftesting/buftesting.go b/internal/buf/internal/buftesting/buftesting.go
2−index dc8da0c..70ad299 100644
3−--- a/internal/buf/internal/buftesting/buftesting.go
4−+++ b/internal/buf/internal/buftesting/buftesting.go
5−@@ -100,6 +100,10 @@ func RunActualProtoc(
1+diff --git a/private/bufpkg/buftesting/buftesting.go b/private/bufpkg/buftesting/buftesting.go
2+index 82b3ec4..ef8263a 100644
3+--- a/private/bufpkg/buftesting/buftesting.go
4++++ b/private/bufpkg/buftesting/buftesting.go
5+@@ -99,6 +99,10 @@ func RunActualProtoc(
66
77 // GetGoogleapisDirPath gets the path to a clone of googleapis.
88 func GetGoogleapisDirPath(t *testing.T, buftestingDirPath string) string {