cargo-insta: 1.45.1 -> 1.46.3
Changelog: https://github.com/mitsuhiko/insta/blob/1.46.3/CHANGELOG.md
This commit is contained in:
@@ -2,20 +2,26 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
runtimeShell,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-insta";
|
||||
version = "1.45.1";
|
||||
version = "1.46.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mitsuhiko";
|
||||
repo = "insta";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-uNf2KkwgRCBCVFDN5ql8MisfAoU4+z7XLWogyx8sgKw=";
|
||||
hash = "sha256-MRGtD6ZbZkiblq9tadiJPrOGWZ2uM+8qIw2KlP/KuJc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-U9rtovpekFiSv+RhPwgTiUVjAPPDzis1O0RrIOKWcQc=";
|
||||
cargoHash = "sha256-lp7jaftj/BXorK+xxO4FS8aCpi1SSAC2/xt0CX25Dos=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cargo-insta/tests/functional/test_runner_fallback.rs \
|
||||
--replace-fail '#!/bin/bash' '#!${runtimeShell}'
|
||||
'';
|
||||
|
||||
checkFlags = [
|
||||
# Depends on `rustfmt` and does not matter for packaging.
|
||||
|
||||
Reference in New Issue
Block a user