2019-02-13 11:39:22 +00:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-03-15 21:38:44 +00:00
|
|
|
pname = "broot";
|
2019-03-25 22:28:01 +00:00
|
|
|
version = "0.7.4";
|
2019-02-13 11:39:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Canop";
|
2019-03-15 21:38:44 +00:00
|
|
|
repo = pname;
|
2019-02-13 11:39:22 +00:00
|
|
|
rev = "v${version}";
|
2019-03-25 22:28:01 +00:00
|
|
|
sha256 = "1qi29qy4kwqfbca5ghdmjidpwn2wghr19jwzrrk0xvlq1xb13jfa";
|
2019-02-13 11:39:22 +00:00
|
|
|
};
|
|
|
|
|
2019-03-15 21:38:44 +00:00
|
|
|
cargoSha256 = "0cq78im3hg7wns260gwvajikj80l7kjbg3zycy3nvdx34llgv0n5";
|
2019-02-13 11:39:22 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
|
2019-03-15 21:38:44 +00:00
|
|
|
homepage = "https://dystroy.org/broot/";
|
2019-02-13 11:39:22 +00:00
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|