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