Merge pull request from iAmMrinal0/update/broot

broot: 1.7.3 -> 1.7.4
This commit is contained in:
Vlad M 2021-12-08 11:02:23 +02:00 committed by GitHub
commit e25d9ef7b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,14 +15,14 @@
rustPlatform.buildRustPackage rec {
pname = "broot";
version = "1.7.3";
version = "1.7.4";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-qu8COcMuReV8zbDK5lm378SQY+TwDy/lo9T/ldNMfz0=";
sha256 = "sha256-laFLm6A0EeprSHuqBi3p4ykgBbCinYU1sf0iRV0PY/M=";
};
cargoHash = "sha256-ndFymXT2hA4ZztePDFhAYlMh8Iwxi1/ULZYGq+W5vpE=";
cargoHash = "sha256-0ybig1S56cJjf6QGWuDasfsIiwRhK+bpWNKOjs4D7P8=";
nativeBuildInputs = [
installShellFiles
@ -73,9 +73,15 @@ rustPlatform.buildRustPackage rec {
installManPage man/broot.1
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/broot --version | grep "${version}"
'';
meta = with lib; {
description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
homepage = "https://dystroy.org/broot/";
changelog = "https://github.com/Canop/broot/releases/tag/v${version}";
maintainers = with maintainers; [ dywedir ];
license = with licenses; [ mit ];
};