broot: add package test

This commit is contained in:
Mrinal Purohit 2021-12-03 17:45:33 +05:30
parent 08691e47ce
commit 46b2d1f93a

View File

@ -73,6 +73,11 @@ 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/";