mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
README: Add packages list.
* etc/scripts/package-index.scm: New file. * README.org (Packages): Use its output.
This commit is contained in:
2 files changed
+98
-1
No files matched your search
Executable
+26
@@ -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)))))
|
||||
Reference in new issue
Block a user