python3Packages.regex: 2025.9.18 -> 2025.11.3

Signed-off-by: Povl Filip Sonne-Frederiksen <22501790+pfmephisto@users.noreply.github.com>
This commit is contained in:
Povl Filip Sonne-Frederiksen
2026-01-04 03:10:27 +01:00
committed by Sandro Jäckel
parent 8352649c16
commit 90fcca4c19
@@ -7,7 +7,7 @@
}:
let
version = "2025.9.18";
version = "2025.11.3";
in
buildPythonPackage {
pname = "regex";
@@ -18,13 +18,21 @@ buildPythonPackage {
owner = "mrabarnett";
repo = "mrab-regex";
tag = version;
hash = "sha256-s/jaRbQffd1DmGribk8gwTraKEhWfvFZboWXUduhM8A=";
hash = "sha256-KEn+8DoAAq2OBqnl7vluqn1UPBpIfmO1v4wxKUZrcyA=";
};
build-system = [ setuptools ];
preCheck = ''
rm regex/__init__.py
'';
checkPhase = ''
${python.interpreter} -m unittest
runHook preCheck
${python.interpreter} -m unittest ./regex/tests/test_regex.py
runHook postCheck
'';
pythonImportsCheck = [ "regex" ];