summary refs log tree commit diff
path: root/pkgs/tools/system/tre-command
diff options
context:
space:
mode:
authorDaniel Duan <daniel@duan.ca>2020-08-08 16:11:36 -0700
committerDaniel Duan <daniel@duan.ca>2020-08-08 16:35:10 -0700
commit236aa441a8af38dc188b677f0ba625a4ad311542 (patch)
treee240701266d7f07949b10a060a3b431fd1e8f235 /pkgs/tools/system/tre-command
parent3c7fe5bb6a93d6290b9169a5ffc24ed8c721c2d4 (diff)
downloadnixpkgs-236aa441a8af38dc188b677f0ba625a4ad311542.tar
nixpkgs-236aa441a8af38dc188b677f0ba625a4ad311542.tar.gz
nixpkgs-236aa441a8af38dc188b677f0ba625a4ad311542.tar.bz2
nixpkgs-236aa441a8af38dc188b677f0ba625a4ad311542.tar.lz
nixpkgs-236aa441a8af38dc188b677f0ba625a4ad311542.tar.xz
nixpkgs-236aa441a8af38dc188b677f0ba625a4ad311542.tar.zst
nixpkgs-236aa441a8af38dc188b677f0ba625a4ad311542.zip
tre-command: 0.3.1 -> 0.3.2
release notes: https://github.com/dduan/tre/releases/tag/v0.3.2

relavent: this release introduces a Unix manual.
Diffstat (limited to 'pkgs/tools/system/tre-command')
-rw-r--r--pkgs/tools/system/tre-command/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/tools/system/tre-command/default.nix b/pkgs/tools/system/tre-command/default.nix
index b420126a95e..04aacc181c9 100644
--- a/pkgs/tools/system/tre-command/default.nix
+++ b/pkgs/tools/system/tre-command/default.nix
@@ -1,17 +1,23 @@
-{ rustPlatform, fetchFromGitHub, stdenv }:
+{ rustPlatform, fetchFromGitHub, stdenv, installShellFiles }:
 
 rustPlatform.buildRustPackage rec {
   pname = "tre-command";
-  version = "0.3.1";
+  version = "0.3.2";
 
   src = fetchFromGitHub {
     owner = "dduan";
     repo = "tre";
     rev = "v${version}";
-    sha256 = "1fm3fszy7fd0dgf5dwm35nb0ym0waw92iyx128lr2vlbyzln6ija";
+    sha256 = "1kb8jwmjhlp9bk08rb6gq3j810cv9bidm28sa417vyykp9a8p2ky";
   };
 
-  cargoSha256 = "0sk4dn5rrqhkaxm76y1d7rsjsw6pdjdhb2xv7qqrlivfk6y5k31x";
+  cargoSha256 = "0cqkpvq8b2vnqpkd819cdgh4fqr9yns337fgzah4m40ygs25n9iv";
+
+  nativeBuildInputs = [ installShellFiles ];
+
+  preFixup = ''
+    installManPage manual/tre.1
+  '';
 
   meta = with stdenv.lib; {
     description = "Tree command, improved";