From 11f20dd94a2f3e61b2286d11acf4d60717e26a3c Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sat, 7 Sep 2024 10:36:56 +0200 Subject: [PATCH] cargo-insta: 1.39-unstable-2024-08-22 -> 1.40 --- .../tools/rust/cargo-insta/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-insta/default.nix b/pkgs/development/tools/rust/cargo-insta/default.nix index 36dfaafdadfd..a70f6b4e4585 100644 --- a/pkgs/development/tools/rust/cargo-insta/default.nix +++ b/pkgs/development/tools/rust/cargo-insta/default.nix @@ -5,20 +5,23 @@ rustPlatform.buildRustPackage rec { pname = "cargo-insta"; - # use stable release once 1.40 lands - version = "1.39-unstable-2024-08-22"; + version = "1.40"; src = fetchFromGitHub { owner = "mitsuhiko"; repo = "insta"; - rev = "abb6ba50163fb9093fa79c2fb784a57e08b2fcc0"; - hash = "sha256-465xY68M00lBM+3pz8FIXkBXnRrMi4wbBRieYHz0w+s="; + rev = "83f33653b687c84823fe6af00806107e1dd4f4b8"; + hash = "sha256-eau5h75oZpxufTrf0fLHfr+3TIOFXB/kSgHX+o2GtiE="; }; - cargoHash = "sha256-2mf9GJ1BtZE1k9jIdFmjiK1KfQ9qPkeSABT8X7G+p9I="; + cargoHash = "sha256-OqM8SERSWHtbvW6SZfM7lOrQZu66uzsv5wiD3Iqaf3s="; + checkFlags = [ # Depends on `rustfmt` and does not matter for packaging. - checkFlags = [ "--skip=utils::test_format_rust_expression" ]; + "--skip=utils::test_format_rust_expression" + # Requires networking + "--skip=test_force_update_snapshots" + ]; meta = with lib; { description = "Cargo subcommand for snapshot testing";