Unverified Commit 5d2bee11 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

ruff: 0.15.2 -> 0.15.3 (#494395)

parents 2c810ffc 1d4f0fd1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -16,18 +16,18 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "ruff";
  version = "0.15.2";
  version = "0.15.3";

  src = fetchFromGitHub {
    owner = "astral-sh";
    repo = "ruff";
    tag = finalAttrs.version;
    hash = "sha256-Mcero8doPndU3hAIU/bFA8Boc98okKc+hDfdz4slx5M=";
    hash = "sha256-xeZk044anJ21uQwV3VN1QOvav+soYVdArpEw/rr8Xsw=";
  };

  cargoBuildFlags = [ "--package=ruff" ];

  cargoHash = "sha256-3GCPejBOyLRZpanFrXHlaLWImMUEmoSejCazzG5sVfo=";
  cargoHash = "sha256-16Ao1y0pFWxGjHkGi4VCIA9msvA5Tka8wvok8o3g6rc=";

  nativeBuildInputs = [ installShellFiles ];

+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ buildPythonPackage {
    # Do not rely on path lookup at runtime to find the ruff binary.
    # Use the propagated binary instead.
    ''
      substituteInPlace python/ruff/__main__.py \
      substituteInPlace python/ruff/_find_ruff.py \
        --replace-fail \
          'ruff_exe = "ruff" + sysconfig.get_config_var("EXE")' \
          'return "${lib.getExe ruff}"'