mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #334718 from emilazy/push-wmummuqmyyro
cargo-semver-checks: 0.33.0 -> 0.34.0
This commit is contained in:
commit
8b908192e6
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user