8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
16 sha256 = "sha256-JlkONhXMWLzxAf3SYoLkSvXw4bFYBnsCyyj0TUsezwg=";
19 cargoHash = "sha256-b3fScJMG/CIkMrahbELLQp1otmT5En+p8kQsip05SOc=";
21 nativeBuildInputs = [ installShellFiles ];
24 installManPage manual/tre.1
25 installShellCompletion scripts/completion/tre.{bash,fish}
26 installShellCompletion --zsh scripts/completion/_tre
29 # this test requires package to be in a git repo to succeed
36 description = "Tree command, improved";
37 homepage = "https://github.com/dduan/tre";
38 license = licenses.mit;
39 maintainers = [ maintainers.dduan ];