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