fselect: install manpage

This commit is contained in:
Mario Rodas 2020-03-12 04:20:00 -05:00
parent ac184e3c6b
commit 6aae443d0a
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
{ stdenv, fetchFromGitHub, rustPlatform, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "fselect";
@ -13,6 +13,12 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0mjd9nmaggsszf0kx68yrvy3fqbn35v34c7q3584fv50ipqn6drb";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage docs/fselect.1
'';
meta = with stdenv.lib; {
description = "Find files with SQL-like queries";
homepage = "https://github.com/jhspetersson/fselect";