bba55970ba
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
25 lines
670 B
Nix
25 lines
670 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "duf";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "muesli";
|
|
repo = "duf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aRXm31sGHvHPpqPck5+jplbWT52OzaiQIgU/C7llJs8=";
|
|
};
|
|
|
|
vendorSha256 = "153z0ccd556c0wpnxgyjq7m0c4y2z6fxsqq2p77kly9nr8cpzdb9";
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X=main.Version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/muesli/duf/";
|
|
description = "Disk Usage/Free Utility";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ petabyteboy penguwin SuperSandro2000 ];
|
|
};
|
|
}
|