1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

pre-commit: 3.7.1 -> 4.0.1

https://github.com/pre-commit/pre-commit/releases/tag/v4.0.1
This commit is contained in:
jfvillablanca 2024-10-19 08:33:40 +08:00
parent fb0baa4a01
commit 3787f84614

View file

@ -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.