2020-09-21 22:57:28 -07:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "duf";
|
2021-02-05 03:05:17 -08:00
|
|
|
version = "0.6.0";
|
2020-09-21 22:57:28 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "muesli";
|
|
|
|
repo = "duf";
|
|
|
|
rev = "v${version}";
|
2021-02-05 03:05:17 -08:00
|
|
|
sha256 = "sha256-Wm3gfir6blQFLLi+2bT5Y/5tf7qUxEddJQ7tCYfBGgM=";
|
2020-09-21 22:57:28 -07:00
|
|
|
};
|
|
|
|
|
2021-02-05 03:05:17 -08:00
|
|
|
vendorSha256 = "0icxy6wbqjqawr6i5skwp1z37fq303p8f95crd8lwn6pjjiqzk4i";
|
2020-10-12 17:22:05 -07:00
|
|
|
|
2021-02-11 19:21:41 -08:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X=main.Version=${version}" ];
|
2020-09-21 22:57:28 -07:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/muesli/duf/";
|
|
|
|
description = "Disk Usage/Free Utility";
|
|
|
|
license = licenses.mit;
|
2020-12-20 09:47:42 -08:00
|
|
|
platforms = platforms.unix;
|
2021-02-05 03:05:17 -08:00
|
|
|
maintainers = with maintainers; [ petabyteboy penguwin SuperSandro2000 ];
|
2020-09-21 22:57:28 -07:00
|
|
|
};
|
|
|
|
}
|