1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

tre: init at 0.2.2

tre is a improved version of the command `tree`. Its main additions:

1. colored output
2. ignores paths specified in .gitignore
3. editor alias for each entity listed

Source/Homepage: https://github.com/dduan/tre
This commit is contained in:
Daniel Duan 2019-11-03 12:51:01 -08:00
parent 4cf8729c31
commit fcd88c820d
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ rustPlatform, fetchFromGitHub, stdenv }:
rustPlatform.buildRustPackage rec {
pname = "tre";
version = "0.2.2";
src = fetchFromGitHub {
owner = "dduan";
repo = "tre";
rev = "v${version}";
sha256 = "1fazw2wn738iknbv54gv7qll7d4q2gy9bq1s3f3cv21cdv6bqral";
};
cargoSha256 = "0m82zbi610zgvcza6n03xl80g31x6bfkjyrfxcxa6fyf2l5cj9pv";
verifyCargoDeps = true;
meta = with stdenv.lib; {
description = "Tree command, improved";
homepage = "https://github.com/dduan/tre";
license = licenses.mit;
maintainers = [ maintainers.dduan ];
platforms = platforms.all;
};
}

View file

@ -21312,6 +21312,8 @@ in
tdrop = callPackage ../applications/misc/tdrop { };
tre-command = callPackage ../tools/system/tre-command {};
tree = callPackage ../tools/system/tree {};
treesheets = callPackage ../applications/office/treesheets { wxGTK = wxGTK31; };