README: Add packages list.

* etc/scripts/package-index.scm: New file.
* README.org (Packages): Use its output.
This commit is contained in:
Hilton Chain committed 2026-10-09 03:06:48 +08:00
1 parent 34502202bf
commit 0d00baa9e1
2 files changed
+98 -1

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env -S guix repl --
!#
;;; SPDX-License-Identifier: CC0-1.0
;;; Copyright © 2025-2026 Hilton Chain <hako@ultrarare.space>
(use-modules (guix packages)
(guix profiles)
(guix ui)
(rosenthal utils packages))
(format #t "*** Packages~%")
(for-each
(lambda (p)
(format #t "- [[~a][~a]]@~a :: ~a~%"
(package-home-page p)
(package-name p)
(package-version p)
(string-drop-right
(package-synopsis-string p)
(string-length "\n\n"))))
(stable-sort
(filter (negate hidden-package?)
(all-rosenthal-packages))
(lambda (a b)
(string< (package-name a)
(package-name b)))))