Unverified Commit 1af277b5 authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

Merge pull request #259806 from figsoda/semver

cargo-semver-checks: 0.23.0 -> 0.24.0
parents 0b9bbaf0 dd968e47
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2_1_6
, cmake
, zlib
, stdenv
, darwin
@@ -11,24 +10,25 @@

rustPlatform.buildRustPackage rec {
  pname = "cargo-semver-checks";
  version = "0.23.0";
  version = "0.24.0";

  src = fetchFromGitHub {
    owner = "obi1kenobi";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-/yMZ7ZmvCPFkrnuobbNGmgGNw16J8yT0DEUza7PD/Ow=";
    hash = "sha256-K6csc/jJ0iDegK9ZSOy1aNb0GSxSXHMSOVUtFEYUBhc=";
  };

  cargoHash = "sha256-u8hja6+T3NwcNub181TfuhI9+QFuIrgqIBlb1lm8+yk=";
  cargoHash = "sha256-9tWzJ64UlMHQ61SRbEXACNDA+4hTPjQTBzSjEO+0rik=";

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    cmake
  ];

  buildInputs = [
    libgit2_1_6
    zlib
  ] ++ lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Security
    darwin.apple_sdk.frameworks.SystemConfiguration
  ];

  nativeCheckInputs = [