forked from mirrors/nixpkgs
Merge pull request #202833 from nagy/duf-manpage
This commit is contained in:
commit
9606b88555
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue