Unverified Commit 1bb43492 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

rust-parallel: 1.18.1 -> 1.20.0 (#468342)

parents e6e7bf6f ffe0a167
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -9,24 +9,25 @@

rustPlatform.buildRustPackage rec {
  pname = "rust-parallel";
  version = "1.18.1";
  version = "1.20.0";

  src = fetchFromGitHub {
    owner = "aaronriekenberg";
    repo = "rust-parallel";
    rev = "v${version}";
    hash = "sha256-4f/JE8KWYDdLwx+bCSSbz0Cpfy/g3WIaRzqCvUix4t0=";
    hash = "sha256-osuuEYOktSMmpKURXvn0rWUeBgFV07aTeM8oxkiCe10=";
  };

  cargoHash = "sha256-wJtXYx2mncOnnUep4CMFt+1mK1vMyhYFCQM/2B9m6zY=";
  cargoHash = "sha256-20Lr7nRhr7Vrkk31iCioxmYpXYOfQFAmPkyHe1Nfijc=";

  postPatch = ''
    substituteInPlace tests/dummy_shell.sh \
      --replace "/bin/bash" "${bash}/bin/bash"
      --replace-fail "/bin/bash" "${bash}/bin/bash"
  '';

  checkFlags = [
    "--skip=runs_echo_commands_dry_run"
    "--skip=test_keep_order_with_sleep"

    "--skip=runs_regex_command_with_dollar_signs"
    "--skip=runs_regex_from_command_line_args_nomatch_1"