From b2ad7e1ed1d80ce664fc3b3f5d010abd9f6426d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandru=20Scvor=C8=9Bov?= Date: Fri, 12 Sep 2025 12:07:36 +0100 Subject: [PATCH] matrix-tuwunel: 1.4.1 -> 1.4.2 --- pkgs/by-name/ma/matrix-tuwunel/doctest-fix.patch | 13 ------------- pkgs/by-name/ma/matrix-tuwunel/package.nix | 10 +++------- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 pkgs/by-name/ma/matrix-tuwunel/doctest-fix.patch diff --git a/pkgs/by-name/ma/matrix-tuwunel/doctest-fix.patch b/pkgs/by-name/ma/matrix-tuwunel/doctest-fix.patch deleted file mode 100644 index 18c47bdde3e3..000000000000 --- a/pkgs/by-name/ma/matrix-tuwunel/doctest-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git i/src/core/utils/debug.rs w/src/core/utils/debug.rs -index 31163a54..859dd9a9 100644 ---- i/src/core/utils/debug.rs -+++ w/src/core/utils/debug.rs -@@ -28,7 +28,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - /// use tuwunel_core::utils::debug::slice_truncated; - /// - /// #[tracing::instrument(fields(foos = slice_truncated(foos, 42)))] --/// fn bar(foos: &[&str]); -+/// fn bar(foos: &[&str]) { } - /// ``` - pub fn slice_truncated( - slice: &[T], diff --git a/pkgs/by-name/ma/matrix-tuwunel/package.nix b/pkgs/by-name/ma/matrix-tuwunel/package.nix index d997594e2435..b7fe6422f9c8 100644 --- a/pkgs/by-name/ma/matrix-tuwunel/package.nix +++ b/pkgs/by-name/ma/matrix-tuwunel/package.nix @@ -85,20 +85,16 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "matrix-tuwunel"; - version = "1.4.1"; + version = "1.4.2"; src = fetchFromGitHub { owner = "matrix-construct"; repo = "tuwunel"; tag = "v${finalAttrs.version}"; - hash = "sha256-41oQfqdsHjm3fBaG+y+Q7eru7LzSIwOc6K5A29Jmt2c="; + hash = "sha256-h7a8nbKZ6cK6SoAGwORc6+D+jJxQOut7y5KzHfBbqDE="; }; - cargoHash = "sha256-bTLKsWsma+a4ZD5ujJJ0xYvk769umIsTNE21KUTJj0U="; - - patches = [ - ./doctest-fix.patch - ]; + cargoHash = "sha256-RjoO5eiAXYhC8Tg5UNqCpBsFVN1I+0UhchslAmhm0Qo="; nativeBuildInputs = [ pkg-config