Merge pull request #253912 from figsoda/semver

cargo-semver-checks: 0.22.1 -> 0.23.0
This commit is contained in:
Nick Cao
2023-09-07 18:29:45 -04:00
committed by GitHub
@@ -2,8 +2,7 @@
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2
, openssl
, libgit2_1_6
, zlib
, stdenv
, darwin
@@ -12,22 +11,21 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-semver-checks";
version = "0.22.1";
version = "0.23.0";
src = fetchFromGitHub {
owner = "obi1kenobi";
repo = pname;
rev = "v${version}";
hash = "sha256-Qb01NLWCD7nglceJdUTnlf/XtPHl1P6ukr+QsjxMMos=";
hash = "sha256-/yMZ7ZmvCPFkrnuobbNGmgGNw16J8yT0DEUza7PD/Ow=";
};
cargoHash = "sha256-Qe/AGLoaCpbo001JkCN5qFytL4vWIPWhy3/pfBRoMmo=";
cargoHash = "sha256-u8hja6+T3NwcNub181TfuhI9+QFuIrgqIBlb1lm8+yk=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libgit2
openssl
libgit2_1_6
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
@@ -37,13 +35,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"
"--skip=rustdoc_cmd::tests"
"--skip=verify_binary_contains_lints"
# requires internet access