diff --git a/pkgs/development/tools/rust/cargo-semver-checks/default.nix b/pkgs/development/tools/rust/cargo-semver-checks/default.nix index d6c000405acb..c708a9d76ae4 100644 --- a/pkgs/development/tools/rust/cargo-semver-checks/default.nix +++ b/pkgs/development/tools/rust/cargo-semver-checks/default.nix @@ -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";