@@ -1,21 +1,23 @@
1−{ stdenv, rustPlatform, fetchFromGitHub, coreutils, installShellFiles }:
1+{ stdenv, rustPlatform, fetchFromGitHub, coreutils, libiconv, Security, installShellFiles }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "broot";
5− version = "0.12.2";
5+ version = "0.13.1";
66
77 src = fetchFromGitHub {
88 owner = "Canop";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "1y2da4xcdsvvss4plbp77pqhi8fqjlnsgpcwq8fkc0vx049ijhcm";
11+ sha256 = "13b1w9g68aj3r70w9bmrmdc772y959n77ajbdm2cpjs5f4kgfpak";
1212 };
1313
14− cargoSha256 = "1h9jpyxvk76h06jgy3bwbr3ymhqypsyq05m99clkkrlwp8dnsgqq";
14+ cargoSha256 = "0vzpyymylzxjm613lf5xr6hd21ijkl3vwq4y6h1q3as41phw2sqb";
1515 verifyCargoDeps = true;
1616
1717 nativeBuildInputs = [ installShellFiles ];
1818
19+ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
20+
1921 postPatch = ''
2022 substituteInPlace src/verb_store.rs --replace '"/bin/' '"${coreutils}/bin/'
2123 '';