2021-08-27 14:25:00 +00:00
|
|
|
{ fetchFromGitHub, lib, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "dutree";
|
|
|
|
version = "0.2.18";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nachoparker";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-18 10:52:07 +00:00
|
|
|
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
|
2022-06-16 17:23:12 +00:00
|
|
|
postFetch = ''
|
2021-09-18 10:52:07 +00:00
|
|
|
rm -r $out/test
|
|
|
|
'';
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
cargoHash = "sha256-/E+4yJEhZbERy4vOqn0Ruv3zOcd2FA+q41qZ0Tvg4T0=";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool to analyze file system usage written in Rust";
|
2021-08-27 14:25:00 +00:00
|
|
|
homepage = "https://github.com/nachoparker/dutree";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "dutree";
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
}
|