duf: install man page

This commit is contained in:
Daniel Nagy
2022-11-25 12:30:00 +01:00
parent 6d9a36c0eb
commit bf1fb37cdc
+7 -1
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";