From 8c475d567ef5d10f45e43c0fe8626cfb8e1dfdd0 Mon Sep 17 00:00:00 2001 From: kilianar Date: Thu, 30 Nov 2023 14:01:49 +0100 Subject: [PATCH 1/2] broot: optional support for clipboard feature This commit introduces support for the clipboard feature flag in broot, allowing users to copy paths to the system clipboard. Enabling this feature is done by setting withClipboard = true. However, as per the upstream documentation, enabling this option may cause compilation issues on certain platforms, which is why it remains disabled by default. --- pkgs/tools/misc/broot/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix index c12e93f94da3..91fc20857b90 100644 --- a/pkgs/tools/misc/broot/default.nix +++ b/pkgs/tools/misc/broot/default.nix @@ -12,6 +12,7 @@ , xorg , zlib , buildPackages +, withClipboard ? false }: rustPlatform.buildRustPackage rec { @@ -39,6 +40,8 @@ rustPlatform.buildRustPackage rec { zlib ]; + buildFeatures = lib.optionals withClipboard [ "clipboard" ]; + RUSTONIG_SYSTEM_LIBONIG = true; postPatch = '' From ef7ab764f90f8c335e67aa56f56265aa3f05e70c Mon Sep 17 00:00:00 2001 From: kilianar Date: Thu, 30 Nov 2023 14:15:54 +0100 Subject: [PATCH 2/2] broot: 1.28.1 -> 1.29.0 https://github.com/Canop/broot/releases/tag/v1.29.0 --- pkgs/tools/misc/broot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix index 91fc20857b90..afa31e2feaf1 100644 --- a/pkgs/tools/misc/broot/default.nix +++ b/pkgs/tools/misc/broot/default.nix @@ -17,16 +17,16 @@ rustPlatform.buildRustPackage rec { pname = "broot"; - version = "1.28.1"; + version = "1.29.0"; src = fetchFromGitHub { owner = "Canop"; repo = pname; rev = "v${version}"; - hash = "sha256-zq63PfKVcCLudsIBugGQIozG4Ve4vgBwYz0ID5k1J5o="; + hash = "sha256-Wx+hUm0y7w0+IYtaRE5X/5Ra37mMEMEliYFbl7c03Ww="; }; - cargoHash = "sha256-jjov7kW6iH+Tfi5XBjMFbRk0a4HRYZ7pWm+Aa0hUndM="; + cargoHash = "sha256-7B5Uxr1SsAx+mRpvQPSW7pemxp11WngEIK6vF2cbzh4="; nativeBuildInputs = [ installShellFiles