ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
28 lines
670 B
Nix
28 lines
670 B
Nix
{ rustPlatform, fetchFromGitHub, lib, installShellFiles }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tre-command";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dduan";
|
|
repo = "tre";
|
|
rev = "v${version}";
|
|
sha256 = "10c8mpqzpw7m3vrm2vl2rx678z3c37hxpqyh3fn83dlh9f4f0j87";
|
|
};
|
|
|
|
cargoSha256 = "0jd6cfs2zi2n34kirpsy12l76whaqwm1pkqa57w1ms5z658z07wj";
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
preFixup = ''
|
|
installManPage manual/tre.1
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tree command, improved";
|
|
homepage = "https://github.com/dduan/tre";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.dduan ];
|
|
};
|
|
}
|