figsoda 2023-09-07 17:14:11 -04:00
parent 82e0e21d6a
commit 0618288846

View file

@ -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