1 { rustPlatform, fetchFromGitHub, lib, installShellFiles }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-JlkONhXMWLzxAf3SYoLkSvXw4bFYBnsCyyj0TUsezwg=";
14 cargoHash = "sha256-b3fScJMG/CIkMrahbELLQp1otmT5En+p8kQsip05SOc=";
16 nativeBuildInputs = [ installShellFiles ];
19 installManPage manual/tre.1
20 installShellCompletion scripts/completion/tre.{bash,fish}
21 installShellCompletion --zsh scripts/completion/_tre
24 # this test requires package to be in a git repo to succeed
25 checkFlags = [ "--skip" "respect_git_ignore" ];
28 description = "Tree command, improved";
29 homepage = "https://github.com/dduan/tre";
30 license = licenses.mit;
31 maintainers = [ maintainers.dduan ];