nixpkgs/pkgs/by-name/pa/parallel-disk-usage/package.nix
2024-02-04 22:58:10 +01:00

31 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;
};
}