Merge pull request #90194 from bbigras/broot

broot: 0.13.6 -> 0.15.1
This commit is contained in:
Mario Rodas 2020-06-12 19:46:48 -05:00 committed by GitHub
commit 6be09e27c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,23 +2,23 @@
rustPlatform.buildRustPackage rec {
pname = "broot";
version = "0.13.6";
version = "0.15.1";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
sha256 = "08d0zddqqymxj1qcp8c78r7mpii1piy6awaf135jxhzwi775sqqv";
sha256 = "1ggzx4w69fmvaxm5gfqhh8ncr2mdx528zm6vwrrwz165lga2fvw6";
};
cargoSha256 = "1cxvx51zkmhszmgwsi0aj469xz98v5nk79zvqfyma27gsnh8jczr";
cargoSha256 = "0gcq0fww9hl3avh3qcnpnwmpwda4cymr7x3kd3frdizrs8i643mr";
nativeBuildInputs = [ installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
postPatch = ''
substituteInPlace src/verb_store.rs --replace '"/bin/' '"${coreutils}/bin/'
substituteInPlace src/verb/builtin.rs --replace '"/bin/' '"${coreutils}/bin/'
'';
postInstall = ''