From 5a66391625ec01e0d48b8cfb7a3a9d8651582f13 Mon Sep 17 00:00:00 2001 From: Benjamin Sparks Date: Thu, 19 Mar 2026 20:26:39 +0000 Subject: [PATCH 1/2] ruff: 0.15.6 -> 0.15.7 Changelog: https://github.com/astral-sh/ruff/releases/tag/0.15.7 --- pkgs/by-name/ru/ruff/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ru/ruff/package.nix b/pkgs/by-name/ru/ruff/package.nix index 72235a369e99..4eb1a03897a4 100644 --- a/pkgs/by-name/ru/ruff/package.nix +++ b/pkgs/by-name/ru/ruff/package.nix @@ -16,18 +16,18 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ruff"; - version = "0.15.6"; + version = "0.15.7"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ruff"; tag = finalAttrs.version; - hash = "sha256-a8A9FdfrGCyg6TdunsZcXqAzeXb9pCWO/02f9Nl5juU="; + hash = "sha256-aDRFNJKvxuHPYaZtoM+93DxJGsTPMLKGBH5QhIiTh0Y="; }; cargoBuildFlags = [ "--package=ruff" ]; - cargoHash = "sha256-TD5FLdi4YJwDzJpCctNKYxUNj/VgMnB/OBp3exk3cZw="; + cargoHash = "sha256-m3VkHXhjemXVOFFVSUOVz0xD2Rc2pMsP+dnMYQD29uI="; nativeBuildInputs = [ installShellFiles ]; From cccb848abc67ab0714e310b6132efeb340467709 Mon Sep 17 00:00:00 2001 From: Benjamin Sparks Date: Thu, 19 Mar 2026 22:04:21 +0100 Subject: [PATCH 2/2] python3Packages.ruff: adjust maturin patch --- pkgs/development/python-modules/ruff/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ruff/default.nix b/pkgs/development/python-modules/ruff/default.nix index 2322db869620..ca3a8793d0ca 100644 --- a/pkgs/development/python-modules/ruff/default.nix +++ b/pkgs/development/python-modules/ruff/default.nix @@ -29,7 +29,7 @@ buildPythonPackage { # to avoid rebuilding the ruff binary for every active python package set. + '' substituteInPlace pyproject.toml \ - --replace-fail 'requires = ["maturin>=1.9,<2.0"]' 'requires = ["hatchling"]' \ + --replace-fail 'requires = ["maturin>=1.9.3,<2.0"]' 'requires = ["hatchling"]' \ --replace-fail 'build-backend = "maturin"' 'build-backend = "hatchling.build"' cat >> pyproject.toml <