mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
236aa441a8
release notes: https://github.com/dduan/tre/releases/tag/v0.3.2 relavent: this release introduces a Unix manual.
30 lines
711 B
Nix
30 lines
711 B
Nix
{ rustPlatform, fetchFromGitHub, stdenv, installShellFiles }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tre-command";
|
|
version = "0.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dduan";
|
|
repo = "tre";
|
|
rev = "v${version}";
|
|
sha256 = "1kb8jwmjhlp9bk08rb6gq3j810cv9bidm28sa417vyykp9a8p2ky";
|
|
};
|
|
|
|
cargoSha256 = "0cqkpvq8b2vnqpkd819cdgh4fqr9yns337fgzah4m40ygs25n9iv";
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
preFixup = ''
|
|
installManPage manual/tre.1
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Tree command, improved";
|
|
homepage = "https://github.com/dduan/tre";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.dduan ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|