diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-19 22:40:43 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-19 22:40:43 +0900 |
| commit | e903e7f5429edb99959620fe55df7896c9b08b0a (patch) | |
| tree | 6568a176751b8745bee3c6d874642e3386facc4d /internal/rosa/python.go | |
| parent | 1caa051f4da0674bfeef648ed6d9c303a60e93be (diff) | |
internal/rosa/python: install pygments from source
This finally has its dependencies.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/python.go')
| -rw-r--r-- | internal/rosa/python.go | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 77e8f498..34cabe73 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -413,13 +413,22 @@ func init() { } func init() { - artifactsM[PythonPygments] = newPypi( + const ( + version = "2.20.0" + checksum = "L-2P6vn7c_CNZYliE5CJAWLxO1ziDQVVkf8bnZbHj8aSCQ43oWv11wC9KzU9MeCa" + ) + artifactsM[PythonPygments] = newPythonPackage( "pygments", 3986, - " a syntax highlighting package written in Python", - "2.20.0", "py3", "none", "any", - "qlyqX2YSXcV0Z8XgGaPttc_gkq-xsu_nYs6NFOcYnk-CX7qmcj45gG-h6DpwPIcO", + "a syntax highlighting package written in Python", + "https://pygments.org/", + version, newFromGitHub( + "pygments/pygments", + version, checksum, + ), nil, nil, P{PythonHatchling}, ) +} +func init() { artifactsM[PythonIniConfig] = newPypi( "iniconfig", 114778, "a small and simple INI-file parser module", |
