Merge pull request #271187 from kilianar/broot-1.29.0

broot: 1.28.1 -> 1.29.0
This commit is contained in:
Emily Trau 2023-12-01 21:38:06 +11:00 committed by GitHub
commit b74e7d91dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,20 +12,21 @@
, xorg , xorg
, zlib , zlib
, buildPackages , buildPackages
, withClipboard ? false
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "broot"; pname = "broot";
version = "1.28.1"; version = "1.29.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Canop"; owner = "Canop";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-zq63PfKVcCLudsIBugGQIozG4Ve4vgBwYz0ID5k1J5o="; hash = "sha256-Wx+hUm0y7w0+IYtaRE5X/5Ra37mMEMEliYFbl7c03Ww=";
}; };
cargoHash = "sha256-jjov7kW6iH+Tfi5XBjMFbRk0a4HRYZ7pWm+Aa0hUndM="; cargoHash = "sha256-7B5Uxr1SsAx+mRpvQPSW7pemxp11WngEIK6vF2cbzh4=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
@ -39,6 +40,8 @@ rustPlatform.buildRustPackage rec {
zlib zlib
]; ];
buildFeatures = lib.optionals withClipboard [ "clipboard" ];
RUSTONIG_SYSTEM_LIBONIG = true; RUSTONIG_SYSTEM_LIBONIG = true;
postPatch = '' postPatch = ''