From 3787f846140a593d5f4fb8e624e43408d02880f3 Mon Sep 17 00:00:00 2001 From: jfvillablanca <31008330+jfvillablanca@users.noreply.github.com> Date: Sat, 19 Oct 2024 08:33:40 +0800 Subject: [PATCH] pre-commit: 3.7.1 -> 4.0.1 https://github.com/pre-commit/pre-commit/releases/tag/v4.0.1 --- pkgs/tools/misc/pre-commit/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/pre-commit/default.nix b/pkgs/tools/misc/pre-commit/default.nix index 4901663d0d023..0b645519a0f55 100644 --- a/pkgs/tools/misc/pre-commit/default.nix +++ b/pkgs/tools/misc/pre-commit/default.nix @@ -18,7 +18,7 @@ with python3Packages; buildPythonApplication rec { pname = "pre-commit"; - version = "3.7.1"; + version = "4.0.1"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -27,7 +27,7 @@ buildPythonApplication rec { owner = "pre-commit"; repo = "pre-commit"; rev = "refs/tags/v${version}"; - hash = "sha256-+9NNXM4i6saxktF1pl93dmkrqjsErqMB6kEK3IPQTNQ="; + hash = "sha256-qMNnzAxJOS7mabHmGYZ/VkDrpaZbqTJyETSCxq/OrGQ="; }; patches = [ @@ -165,6 +165,7 @@ buildPythonApplication rec { "test_installed_from_venv" "test_uninstall_restores_legacy_hooks" "test_dotnet_" + "test_health_check_" # Expects `git commit` to fail when `pre-commit` is not in the `$PATH`, # but we use an absolute path so it's not an issue.