Merge pull request #238670 from figsoda/semver

cargo-semver-checks: 0.21.0 -> 0.22.0
This commit is contained in:
Nick Cao 2023-06-20 20:41:28 -06:00 committed by GitHub
commit 8382defce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-semver-checks";
version = "0.21.0";
version = "0.22.0";
src = fetchFromGitHub {
owner = "obi1kenobi";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4poiEkZBGbjDh/Ih2n5E/zUSnxJ+Zvv23sJtkoQXeEk=";
hash = "sha256-gVCCQ7yUkFKYViWk/4EpDshbKwMHLffPXkpk+7nJaY8=";
};
cargoSha256 = "sha256-aYd8Do5CWayBdbrwyjvIsPmEfUya2r2bpTmQjur0jsg=";
cargoHash = "sha256-//s+u5uP5eI/lUBTH1k6cmhLASlsv8XgslSPW2qYMhU=";
nativeBuildInputs = [ pkg-config ];
@ -37,6 +37,9 @@ rustPlatform.buildRustPackage rec {
git
];
# use system openssl
buildNoDefaultFeatures = true;
checkFlags = [
# requires nightly version of cargo-rustdoc
"--skip=both_passing_manifest_path_and_directory_works"
@ -53,9 +56,6 @@ rustPlatform.buildRustPackage rec {
scripts/regenerate_test_rustdocs.sh
'';
# use system openssl
OPENSSL_NO_VENDOR = true;
meta = with lib; {
description = "A tool to scan your Rust crate for semver violations";
homepage = "https://github.com/obi1kenobi/cargo-semver-checks";