Merge pull request #280371 from peret/init-parallel-disk-usage

parallel-disk-usage (pdu): init at 0.9.0
This commit is contained in:
a-n-n-a-l-e-e 2024-02-04 16:31:41 -08:00 committed by GitHub
commit 61bcaf0968
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 35 additions and 0 deletions

View file

@ -14631,6 +14631,11 @@
github = "pennae";
githubId = 82953136;
};
peret = {
name = "Peter Retzlaff";
github = "peret";
githubId = 617977;
};
periklis = {
email = "theopompos@gmail.com";
github = "periklis";

View file

@ -0,0 +1,30 @@
{
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;
};
}