Commit 1bb9dc1f authored by a-kenji's avatar a-kenji
Browse files

cargo-insta: 1.33.0 -> 1.39-unstable-2024-08-22

Updates insta to latest unstable release.
Insta vendored their lockfiles again, fixing: #317404.

Because it is not released yet, I have pulled from the unstable main for
now.
parent 79723dbb
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -5,18 +5,20 @@

rustPlatform.buildRustPackage rec {
  pname = "cargo-insta";
  version = "1.33.0";
  # use stable release once 1.40 lands
  version = "1.39-unstable-2024-08-22";

  src = fetchFromGitHub {
    owner = "mitsuhiko";
    repo = "insta";
    rev = "refs/tags/${version}";
    hash = "sha256-w/dxIQ7KRrn86PwiE/g5L9Gn8KszPF9u/zlwE/FYDu4=";
    rev = "abb6ba50163fb9093fa79c2fb784a57e08b2fcc0";
    hash = "sha256-465xY68M00lBM+3pz8FIXkBXnRrMi4wbBRieYHz0w+s=";
  };

  sourceRoot = "${src.name}/cargo-insta";
  cargoHash = "sha256-2mf9GJ1BtZE1k9jIdFmjiK1KfQ9qPkeSABT8X7G+p9I=";

  cargoHash = "sha256-mEtmZ+wFo1WI1IMNYsVqSVScFDLdiXBbghH7c0l/3NQ=";
  # Depends on `rustfmt` and does not matter for packaging.
  checkFlags = [ "--skip=utils::test_format_rust_expression" ];

  meta = with lib; {
    description = "Cargo subcommand for snapshot testing";