3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #202833 from nagy/duf-manpage

This commit is contained in:
Sandro 2022-11-25 19:50:27 +01:00 committed by GitHub
commit 9606b88555
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";