aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-19 22:35:18 +0900
committerOphestra <cat@gensokyo.uk>2026-04-19 22:35:18 +0900
commit1caa051f4da0674bfeef648ed6d9c303a60e93be (patch)
treebef063f9ec32f89fd7afd772d7da414ee7c530c1 /internal/rosa
parentdcdc6f7f6d2f27c8da1beec39c2593bdba706748 (diff)
internal/rosa/python: hatchling artifact
Required by many python packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa')
-rw-r--r--internal/rosa/all.go1
-rw-r--r--internal/rosa/python.go22
2 files changed, 23 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go
index 4a9e4200..8dedfada 100644
--- a/internal/rosa/all.go
+++ b/internal/rosa/all.go
@@ -130,6 +130,7 @@ const (
Procps
Python
PythonFlitCore
+ PythonHatchling
PythonIniConfig
PythonMako
PythonMarkupSafe
diff --git a/internal/rosa/python.go b/internal/rosa/python.go
index e9965772..77e8f498 100644
--- a/internal/rosa/python.go
+++ b/internal/rosa/python.go
@@ -391,6 +391,28 @@ func init() {
}
func init() {
+ const (
+ version = "1.16.5"
+ checksum = "V2eREtqZLZeV85yb4O-bfAJCUluHcQP76Qfs0QH5s7RF_Oc8xIP8jD0jl85qFyWk"
+ )
+ artifactsM[PythonHatchling] = newPythonPackage(
+ "hatchling", 16137,
+ "the extensible, standards compliant build backend used by Hatch",
+ "https://hatch.pypa.io/latest/",
+ version, newFromGitHub(
+ "pypa/hatch",
+ "hatch-v"+version, checksum,
+ ), nil, &PipHelper{
+ Append: []string{"backend"},
+ }, nil,
+ PythonPackaging,
+ PythonPathspec,
+ PythonTroveClassifiers,
+ PythonPluggy,
+ )
+}
+
+func init() {
artifactsM[PythonPygments] = newPypi(
"pygments", 3986,
" a syntax highlighting package written in Python",