60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
30 lines
799 B
Nix
30 lines
799 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
stdenv,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "parallel-disk-usage";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KSXGitHub";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-kOMbVKwnGh47zZkWAWkctfTIE5F8oeSnAgJEU/OdsQc=";
|
|
};
|
|
|
|
cargoHash = "sha256-Jk9sNvApq4t/FoEzfjlDT2Td5sr38Jbdo6RoaOVQJK8=";
|
|
|
|
meta = with lib; {
|
|
description = "Highly parallelized, blazing fast directory tree analyzer";
|
|
homepage = "https://github.com/KSXGitHub/parallel-disk-usage";
|
|
license = licenses.asl20;
|
|
maintainers = [maintainers.peret];
|
|
mainProgram = "pdu";
|
|
# broken due to unit test failure
|
|
# https://github.com/KSXGitHub/parallel-disk-usage/issues/251
|
|
broken = stdenv.isLinux && stdenv.isAarch64;
|
|
};
|
|
}
|