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:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user