nixpkgs/pkgs/tools/misc/duf/default.nix

24 lines
577 B
Nix
Raw Normal View History

2020-09-22 05:57:28 +00:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "duf";
2020-09-29 13:28:12 +00:00
version = "0.3.1";
2020-09-22 05:57:28 +00:00
src = fetchFromGitHub {
owner = "muesli";
repo = "duf";
rev = "v${version}";
2020-09-29 13:28:12 +00:00
sha256 = "1y27cc818099drccqg57nq4kcgl2zmg6akxv2k1c8rkz932q718f";
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 ];
};
}