Merge pull request #222751 from figsoda/cargo-insta

authored by figsoda and committed by GitHub 05ccddc7 a4aaacf6

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