mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 10:34:16 +00:00
5427f2a847
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)
29 lines
670 B
Nix
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 ];
|
|
};
|
|
}
|