duf: install man page

This commit is contained in:
Daniel Nagy 2022-10-05 00:56:50 +02:00
parent 6d9a36c0eb
commit bf1fb37cdc
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule }:
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
buildGoModule rec {
pname = "duf";
@ -15,6 +15,12 @@ buildGoModule rec {
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage duf.1
'';
meta = with lib; {
homepage = "https://github.com/muesli/duf/";
description = "Disk Usage/Free Utility";