Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
829 B
Nix
33 lines
829 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dutree";
|
|
version = "0.2.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nachoparker";
|
|
repo = "dutree";
|
|
rev = "v${version}";
|
|
sha256 = "17lm8jd07bi499mywg2iq669im34j4x4yhc8a3adxn12f8j0dfg7";
|
|
# test directory has files with unicode names which causes hash mismatches
|
|
# It is also not used by any tests or parts of build process
|
|
postFetch = ''
|
|
rm -r $out/test
|
|
'';
|
|
};
|
|
|
|
cargoHash = "sha256-P3h7C6hXKhYBaf0CKlsB+4tnfj/1Aw1iFSlvMNGbSYI=";
|
|
|
|
meta = with lib; {
|
|
description = "Tool to analyze file system usage written in Rust";
|
|
homepage = "https://github.com/nachoparker/dutree";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "dutree";
|
|
};
|
|
}
|