at 22.05-pre 28 lines 670 B view raw
1{ rustPlatform, fetchFromGitHub, lib, installShellFiles }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "tre-command"; 5 version = "0.3.6"; 6 7 src = fetchFromGitHub { 8 owner = "dduan"; 9 repo = "tre"; 10 rev = "v${version}"; 11 sha256 = "1r84xzv3p0ml3wac2j7j5fkm7i93v2xvadb8f8al5wi57q39irj7"; 12 }; 13 14 cargoSha256 = "1f7yhnbgccqmz8hpc1xdv97j53far6d5p5gqvq6xxaqq9irf9bgj"; 15 16 nativeBuildInputs = [ installShellFiles ]; 17 18 preFixup = '' 19 installManPage manual/tre.1 20 ''; 21 22 meta = with lib; { 23 description = "Tree command, improved"; 24 homepage = "https://github.com/dduan/tre"; 25 license = licenses.mit; 26 maintainers = [ maintainers.dduan ]; 27 }; 28}