Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
848 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "diskus";
version = "0.8.0";
src = fetchFromGitHub {
owner = "sharkdp";
repo = "diskus";
rev = "v${version}";
sha256 = "sha256-88+U5Y2CC0PhikRO3VqoUwZEYZjwln+61OPWbLLb8T0=";
};
cargoHash = "sha256-keBnhE4ltOVMEuxPifiB2EAHk32u3PqaPGTeVexVXWM=";
meta = with lib; {
description = "Minimal, fast alternative to 'du -sh'";
homepage = "https://github.com/sharkdp/diskus";
license = with licenses; [
asl20 # or
mit
];
maintainers = [ maintainers.fuerbringer ];
platforms = platforms.unix;
longDescription = ''
diskus is a very simple program that computes the total size of the
current directory. It is a parallelized version of du -sh.
'';
mainProgram = "diskus";
};
}