8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
16 hash = "sha256-tmlf5heOZ3UyFh8ZfwXXZhQO3vlSWwyvxL9/euQ2Fn4=";
17 # Remove unicode file names which leads to different checksums on HFS+
18 # vs. other filesystems because of unicode normalisation.
20 rm -r $out/tests/fixtures
24 cargoHash = "sha256-bqWYXcry+mCUNgYS+7+MWfiV+u+3oZZg1o3Q6Mac+vE=";
26 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
27 darwin.apple_sdk.frameworks.Foundation
33 description = "Tool to conveniently learn about the disk usage of directories";
34 homepage = "https://github.com/Byron/dua-cli";
35 changelog = "https://github.com/Byron/dua-cli/blob/v${version}/CHANGELOG.md";
36 license = with licenses; [ mit ];
37 maintainers = with maintainers; [ figsoda killercup ];