bat: install man page (#47099)

This commit is contained in:
Mario Rodas 2018-09-21 03:23:26 -05:00 committed by xeji
parent a4e9ab65f6
commit ba33eac477

View file

@ -20,6 +20,10 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ];
postInstall = ''
install -m 444 -Dt $out/share/man/man1 doc/bat.1
'';
meta = with stdenv.lib; {
description = "A cat(1) clone with syntax highlighting and Git integration";
homepage = https://github.com/sharkdp/bat;