Merge pull request #219128 from r-ryantm/auto-update/cargo-insta

cargo-insta: 1.26.0 -> 1.28.0

authored by Fabian Affolter and committed by GitHub 1bb51951 17ca3dd2

+16 -6
+16 -6
pkgs/development/tools/rust/cargo-insta/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, libiconv, stdenv }: 1 + { lib 2 + , stdenv 3 + , rustPlatform 4 + , fetchFromGitHub 5 + , libiconv 6 + }: 2 7 3 8 rustPlatform.buildRustPackage rec { 4 9 pname = "cargo-insta"; 5 - version = "1.26.0"; 10 + version = "1.28.0"; 6 11 7 12 src = fetchFromGitHub { 8 13 owner = "mitsuhiko"; 9 14 repo = "insta"; 10 - rev = version; 11 - sha256 = "sha256-h0jRuY3GSqK85NCeFqdqjyVdNTMbdtD70zU5G3w1STc="; 15 + rev = "refs/tags/${version}"; 16 + hash = "sha256-GqM3b2evjACNkTOyfA6N6TInuGo9f/1retkXVTgbJ3A="; 12 17 }; 13 18 14 19 sourceRoot = "source/cargo-insta"; 15 - cargoHash = "sha256-GC2ggTJJV3Aww3qPfsnuND0eII1l3OBoZfi5RtvhO8I="; 16 - buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 20 + 21 + cargoHash = "sha256-ZIS3O19N7w+sL+2IdoCw4/Hx9Jtjx7MYE7JcEu+PFRA="; 22 + 23 + buildInputs = lib.optionals stdenv.isDarwin [ 24 + libiconv 25 + ]; 17 26 18 27 meta = with lib; { 19 28 description = "A Cargo subcommand for snapshot testing"; 20 29 homepage = "https://github.com/mitsuhiko/insta"; 30 + changelog = "https://github.com/mitsuhiko/insta/blob/${version}/CHANGELOG.md"; 21 31 license = licenses.asl20; 22 32 maintainers = with lib.maintainers; [ oxalica ]; 23 33 };