2020-09-22 05:57:28 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "duf";
|
2020-09-25 07:53:58 +00:00
|
|
|
version = "0.3.0";
|
2020-09-22 05:57:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "muesli";
|
|
|
|
repo = "duf";
|
|
|
|
rev = "v${version}";
|
2020-09-25 07:53:58 +00:00
|
|
|
sha256 = "08vmhcvqn9g86iqwk42bj0i09lmchhdgha1xaj1jw1ci4k7s9vrf";
|
2020-09-22 05:57:28 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 07:53:58 +00:00
|
|
|
vendorSha256 = "1jmj46yami37r2wmiprpwyljcmj7dir9mcccx5is1jbiai6sx79i";
|
2020-09-22 05:57:28 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/muesli/duf/";
|
|
|
|
description = "Disk Usage/Free Utility";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ petabyteboy ];
|
|
|
|
};
|
|
|
|
}
|