lol

buf: 0.52.0 -> 0.54.1

+14 -14
+3 -3
pkgs/development/tools/buf/default.nix
··· 9 9 10 10 buildGoModule rec { 11 11 pname = "buf"; 12 - version = "0.52.0"; 12 + version = "0.54.1"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "bufbuild"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-WFL+ztFR8kV6cRY1Ax2TheH+xpA58CLnW69jDpMhe3M="; 18 + sha256 = "sha256-v8n1K2YrN8o4IPA2u6Sg5zsOM08nppg29vlU6ycMj9U="; 19 19 }; 20 - vendorSha256 = "sha256-vbphThpEYDDm1iipcY0QXhKKuLSD87sAxiIUi7SfrAc="; 20 + vendorSha256 = "sha256-WLQ8Bw/UgRVTFEKpDbv6VZkMHQm2tgxekH3J7Sd5vC8="; 21 21 22 22 patches = [ 23 23 # Skip a test that requires networking to be available to work.
+6 -6
pkgs/development/tools/buf/skip_test_requiring_dotgit.patch
··· 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) { 6 6 } 7 7 8 8 func TestWorkspaceGit(t *testing.T) { 9 9 + // Requires .git directory which we do not retain due to 10 10 + // `leaveDotGit` non-determinism 11 11 + t.Skip() 12 + t.Skip("skip until the move to private/buf is merged") 12 13 // Directory paths specified as a git reference within a workspace. 13 14 t.Parallel() 14 - testRunStdout(
+5 -5
pkgs/development/tools/buf/skip_test_requiring_network.patch
··· 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( 6 6 7 7 // GetGoogleapisDirPath gets the path to a clone of googleapis. 8 8 func GetGoogleapisDirPath(t *testing.T, buftestingDirPath string) string {