ruff: 0.15.2 -> 0.15.3 (#494395)

This commit is contained in:
Gaétan Lepage
2026-02-26 18:14:56 +00:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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 ];
@@ -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}"'