Unverified Commit 61bcaf09 authored by a-n-n-a-l-e-e's avatar a-n-n-a-l-e-e Committed by GitHub
Browse files

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

parallel-disk-usage (pdu): init at 0.9.0
parents faf912b0 ea6ea775
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -14631,6 +14631,11 @@
    github = "pennae";
    githubId = 82953136;
  };
  peret = {
    name = "Peter Retzlaff";
    github = "peret";
    githubId = 617977;
  };
  periklis = {
    email = "theopompos@gmail.com";
    github = "periklis";
+30 −0
Original line number Diff line number Diff line
{
  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;
  };
}