Commit d403617d authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent 8f5a6dd7
Loading
Loading
Loading
Loading

pkgs/by-name/ru/ruff/Cargo.lock

deleted100644 → 0
+0 −4540

File deleted.

Preview size limit exceeded, changes collapsed.

+9 −9
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@

python3Packages.buildPythonPackage rec {
  pname = "ruff";
  version = "0.7.4";
  version = "0.8.0";
  pyproject = true;

  outputs = [
@@ -27,7 +27,7 @@ python3Packages.buildPythonPackage rec {
    owner = "astral-sh";
    repo = "ruff";
    rev = "refs/tags/${version}";
    hash = "sha256-viDjUfj/OWYU7Fa7mqD2gYoirKFSaTXPPi0iS7ibiiU=";
    hash = "sha256-yenGZ7TuiHtY/3AIjMPlHVtQPP6PHMc1wdezfZdVtK0=";
  };

  # Do not rely on path lookup at runtime to find the ruff binary
@@ -38,12 +38,9 @@ python3Packages.buildPythonPackage rec {
        'return "${placeholder "bin"}/bin/ruff"'
  '';

  cargoDeps = rustPlatform.importCargoLock {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "lsp-types-0.95.1" = "sha256-8Oh299exWXVi6A39pALOISNfp8XBya8z+KT/Z7suRxQ=";
      "salsa-0.18.0" = "sha256-zUF2ZBorJzgo8O8ZEnFaitAvWXqNwtHSqx4JE8nByIg=";
    };
  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname version src;
    hash = "sha256-O5+uVYWtSMEj7hBrc/FUuqRBN4hUlEbtDPF42kpL7PA=";
  };

  nativeBuildInputs =
@@ -93,6 +90,7 @@ python3Packages.buildPythonPackage rec {
  # According to the maintainers, those tests are from an experimental crate that isn't actually
  # used by ruff currently and can thus be safely skipped.
  checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
    "--skip=added_package"
    "--skip=add_search_path"
    "--skip=changed_file"
    "--skip=changed_versions_file"
@@ -105,13 +103,15 @@ python3Packages.buildPythonPackage rec {
    "--skip=hard_links_to_target_outside_workspace"
    "--skip=move_file_to_trash"
    "--skip=move_file_to_workspace"
    "--skip=nested_packages_delete_root"
    "--skip=new_file"
    "--skip=new_ignored_file"
    "--skip=removed_package"
    "--skip=rename_file"
    "--skip=search_path"
    "--skip=unix::changed_metadata"
    "--skip=unix::symlink_inside_workspace"
    "--skip=unix::symlinked_module_search_path"
    "--skip=unix::symlink_inside_workspace"
  ];

  nativeCheckInputs = [