Add cogd-manual
manuals/cogd.skb unknown status 1
1 | + | ;;; SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site> | |
2 | + | ;;; | |
3 | + | ;;; SPDX-License-Identifier: GPL-3.0-or-later | |
4 | + | ||
5 | + | (document :title "Channel of guix definitions" | |
6 | + | :author (list (author :name "Evgeny Pisemsky" | |
7 | + | :email (mailto "mail@pisemsky.site"))) | |
8 | + | :info-dir-entry "Channel of guix definitions" | |
9 | + | :info-dir-category "System administration" | |
10 | + | (chapter :title [Modules] | |
11 | + | (section :title [Packages]) | |
12 | + | (section :title [Services]))) |
modules/cogd/packages/guile-xyz.scm
10 | 10 | (guix gexp) | |
11 | 11 | (guix build-system gnu) | |
12 | 12 | (guix build-system guile) | |
13 | + | (guix build-system copy) | |
13 | 14 | ((guix licenses) #:prefix license:) | |
15 | + | (gnu packages skribilo) | |
14 | 16 | (gnu packages bash) | |
15 | 17 | (gnu packages guile) | |
16 | 18 | (gnu packages guile-xyz) | |
… | |||
91 | 93 | (description | |
92 | 94 | "This package provides a very simple pastebin written in Guile Scheme.") | |
93 | 95 | (license license:gpl3+)))) | |
96 | + | ||
97 | + | (define-public cogd-manual | |
98 | + | (package | |
99 | + | (name "cogd-manual") | |
100 | + | (version "git") | |
101 | + | (source | |
102 | + | (local-file "../../../manuals" "cogd-manuals" | |
103 | + | #:recursive? #t)) | |
104 | + | (build-system copy-build-system) | |
105 | + | (arguments | |
106 | + | (list | |
107 | + | #:install-plan | |
108 | + | #~'(("cogd.info" "share/info/")) | |
109 | + | #:phases | |
110 | + | #~(modify-phases %standard-phases | |
111 | + | (add-before 'install 'build | |
112 | + | (lambda _ | |
113 | + | (invoke "skribilo" | |
114 | + | "-t" | |
115 | + | "info" | |
116 | + | "-o" | |
117 | + | "cogd.info" | |
118 | + | "cogd.skb")))))) | |
119 | + | (native-inputs (list skribilo)) | |
120 | + | (home-page "https://repo.pisemsky.site/cogd") | |
121 | + | (synopsis "Manual for the cogd") | |
122 | + | (description | |
123 | + | "This package provides an info manual for the \"Channel of guix | |
124 | + | definitions\".") | |
125 | + | (license license:gpl3+))) |