nixpkgs/pkgs/tools/system/tre-command/default.nix
Daniel Duan 5427f2a847 tre-command: 0.3.4 -> 0.3.5
0.3.5 is a minor release with a bug fix for tre-command.

[Release notes](https://github.com/dduan/tre/releases/tag/v0.3.5)
2021-03-21 12:54:25 -07:00

29 lines
670 B
Nix

{ rustPlatform, fetchFromGitHub, lib, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "tre-command";
version = "0.3.5";
src = fetchFromGitHub {
owner = "dduan";
repo = "tre";
rev = "v${version}";
sha256 = "1yhrawn8xdl84f5f56i8fikidrfbjnqw5ckjagk7f6ngpcjc0wxm";
};
cargoSha256 = "03zvykjmb61bn8h4pm93iayhw1d53qv3l635jxfii1q7kzjbdnx9";
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 ];
};
}