summary refs log tree commit diff
path: root/pkgs/development/tools/buf/default.nix
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2022-12-28 03:11:31 +0000
committerAaron Jheng <wentworth@outlook.com>2022-12-28 03:11:31 +0000
commit882ea7d516acabe8845f177abf639d913e44f246 (patch)
tree363c01f1a8f06d9c9e04315badeab35e8298033e /pkgs/development/tools/buf/default.nix
parent8f08140d734c9b07dde8ac591d6baf158134a7a1 (diff)
downloadnixpkgs-882ea7d516acabe8845f177abf639d913e44f246.tar
nixpkgs-882ea7d516acabe8845f177abf639d913e44f246.tar.gz
nixpkgs-882ea7d516acabe8845f177abf639d913e44f246.tar.bz2
nixpkgs-882ea7d516acabe8845f177abf639d913e44f246.tar.lz
nixpkgs-882ea7d516acabe8845f177abf639d913e44f246.tar.xz
nixpkgs-882ea7d516acabe8845f177abf639d913e44f246.tar.zst
nixpkgs-882ea7d516acabe8845f177abf639d913e44f246.zip
buf: 1.9.0 -> 1.11.0
Diffstat (limited to 'pkgs/development/tools/buf/default.nix')
-rw-r--r--pkgs/development/tools/buf/default.nix20
1 files changed, 3 insertions, 17 deletions
diff --git a/pkgs/development/tools/buf/default.nix b/pkgs/development/tools/buf/default.nix
index 5acd05013fa..75b75c0158e 100644
--- a/pkgs/development/tools/buf/default.nix
+++ b/pkgs/development/tools/buf/default.nix
@@ -1,7 +1,6 @@
 { lib
 , buildGoModule
 , fetchFromGitHub
-, fetchpatch
 , protobuf
 , git
 , testers
@@ -11,35 +10,22 @@
 
 buildGoModule rec {
   pname = "buf";
-  version = "1.9.0";
+  version = "1.11.0";
 
   src = fetchFromGitHub {
     owner = "bufbuild";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-KnG1FUdC8xpW/wI4E8+RzO0StKF+N7Wx1jTWNm4302M=";
+    hash = "sha256-h32G6skJ2vWay2iwoqkvBFlzafwHVilYKHVtZES3RvE=";
   };
 
-  vendorSha256 = "sha256-e/hkJoQ1GkSl4mhhgYVB4POult87DzWOXRLGyDVP+M0=";
+  vendorHash = "sha256-Hjr/SZK9dVID+VP7KFZkFmJn+te7cmI2ARu2l7wTzLg=";
 
   patches = [
     # Skip a test that requires networking to be available to work.
     ./skip_test_requiring_network.patch
     # Skip TestWorkspaceGit which requires .git and commits.
     ./skip_test_requiring_dotgit.patch
-    # Remove reliance of tests on file protocol which is disabled in git by default now
-    # Rebased upstream change https://github.com/bufbuild/buf/commit/bcaa77f8bbb8f6c198154c7c8d53596da4506dab
-    ./buf-tests-dont-use-file-transport.patch
-    # Make TestCyclicImport tests deterministic (see https://github.com/bufbuild/buf/pull/1551)
-    (fetchpatch {
-      url = "https://github.com/bufbuild/buf/commit/75b5ef4c84f5953002dff95a1c66cb82b0e3b06f.patch";
-      sha256 = "sha256-pKF3VXkzttsTTT2r/Z37ug9nnu8gRdkfmv/aTOhAJpw=";
-    })
-    # Make TestDuplicateSyntheticOneofs check deterministic (see https://github.com/bufbuild/buf/pull/1579)
-    (fetchpatch {
-      url = "https://github.com/bufbuild/buf/commit/9e72aa314e6f02b36793caa5f6068394cbdcb98c.patch";
-      sha256 = "sha256-6NEF3sP1EQ6cQxkH2xRyHxAD0OrXBlQQa05rLK998wo=";
-    })
   ];
 
   nativeBuildInputs = [ installShellFiles ];