Merge pull request #334718 from emilazy/push-wmummuqmyyro

cargo-semver-checks: 0.33.0 -> 0.34.0
This commit is contained in:
Matthias Beyer 2024-08-15 08:27:57 +02:00 committed by GitHub
commit 8b908192e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-semver-checks";
version = "0.33.0";
version = "0.34.0";
src = fetchFromGitHub {
owner = "obi1kenobi";
repo = pname;
rev = "v${version}";
hash = "sha256-E9jEZXD7nY90v35y4Wv1cUp2aoKzC7dR9bFOTI+2fqo=";
hash = "sha256-U7ykTLEuREe2GTVswcAw3R3h4zbkWxuI2dt/2689xSA=";
};
cargoHash = "sha256-1lHF8S0Xf5iOLQyARoYeWGGC9i68GVpk3EvSHo21Q2w=";
cargoHash = "sha256-NoxYHwY5XpRiqrOjQsaSWQCXFalNAS9SchaKwHbB2uU=";
nativeBuildInputs = [
cmake
@ -31,22 +31,17 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk.frameworks.SystemConfiguration
];
nativeCheckInputs = [
git
];
checkFlags = [
# requires nightly version of cargo-rustdoc
"--skip=both_passing_manifest_path_and_directory_works"
"--skip=verify_binary_contains_lints"
# requires internet access
"--skip=detects_target_dependencies"
];
preCheck = ''
patchShebangs scripts/regenerate_test_rustdocs.sh
git init
substituteInPlace scripts/regenerate_test_rustdocs.sh \
--replace-fail \
'TOPLEVEL="$(git rev-parse --show-toplevel)"' \
"TOPLEVEL=$PWD"
scripts/regenerate_test_rustdocs.sh
'';