python3Packages.colorful: Ignore development versions for automatic updates

This commit is contained in:
fliiiix
2026-06-09 15:55:16 +02:00
parent c5789a6d74
commit d1086a0974
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
pytestCheckHook,
}:
@@ -21,6 +22,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "colorful" ];
passthru.updateScript = gitUpdater {
# Drop the "v" tag prefix before version comparison.
rev-prefix = "v";
# Skip PEP 440 pre-release tags.
ignoredVersions = "(a|b|rc)[0-9]+$";
};
meta = {
description = "Library for terminal string styling";
homepage = "https://github.com/timofurrer/colorful";