Unverified Commit fda4c6c5 authored by Louis Thevenet's avatar Louis Thevenet Committed by Michael Daniels
Browse files

yek: 0.21.0 -> 0.25.0

parent b2e39f56
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
  versionCheckHook,
}:
let
  version = "0.21.0";
  version = "0.25.0";
in
rustPlatform.buildRustPackage {
  pname = "yek";
@@ -18,25 +18,21 @@ rustPlatform.buildRustPackage {
    owner = "bodo-run";
    repo = "yek";
    tag = "v${version}";
    hash = "sha256-GAG5SCcxWL0JbngE2oOadVhOt2ppep6rIbYjIF2y3jI=";
    hash = "sha256-6yHQyl4UnRQlmWkBbAvUEBZnrHW3GsrrFZyOU+p3mjE=";
  };

  cargoHash = "sha256-uShKrH4fdLDJX4ZX0TWXCyFctEH0C98B/STY9j6aH8A=";
  cargoHash = "sha256-WheN8rk/LwKTVg0mDorbXGBvojISSu1KtknFkWmpLMk=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ];

  env.OPENSSL_NO_VENDOR = 1;

  checkFlags = [
    # Tests with git fail
    "--skip=e2e_tests::test_git_boost_config"
    "--skip=e2e_tests::test_git_integration"
    "--skip=lib_tests::test_serialize_repo_with_git"
    "--skip=priority_tests::test_get_recent_commit_times_empty_repo"
    "--skip=priority_tests::test_get_recent_commit_times_with_git"
    "--skip=priority_tests::test_get_recent_commit_times_git_failure"
  ];
  # Tests using git fail
  # Skipping individual checks causes failure as `--skip` flags
  # end up passed to executable
  # > error: unexpected argument '--skip' found
  doCheck = false;

  nativeInstallCheckInputs = [ versionCheckHook ];
  doInstallCheck = true;