Remove cogd-manual
README.md
1 | - | <!-- | |
2 | - | SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site> | |
3 | - | ||
4 | - | SPDX-License-Identifier: GPL-3.0-or-later | |
5 | - | --> | |
6 | - | ||
7 | 1 | # Channel of guix definitions | |
8 | 2 | ||
9 | 3 | ## Setup | |
… | |||
22 | 16 | ``` | |
23 | 17 | ||
24 | 18 | to your guix channel configuration file, save it, and run `guix pull`. | |
19 | + | ||
20 | + | ## Services | |
21 | + | ||
22 | + | ### USB relay daemon | |
23 | + | ||
24 | + | USB relay daemon allows controlling locally connected USB HID relays remotely via MQTT protocol. | |
25 | + | ||
26 | + | * Variable: `usbrelayd-service-type` | |
27 | + | ||
28 | + | This is the service type for the USB relay daemon. Its value is a `usbrelayd-configuration` (see below). | |
29 | + | ||
30 | + | * Data Type: `usbrelayd-configuration` | |
31 | + | ||
32 | + | This is the configuration for the USB relay daemon, with the following fields: | |
33 | + | ||
34 | + | * `package` (default: `python-usbrelay`) | |
35 | + | ||
36 | + | The package containing the USB relay daemon. | |
37 | + | ||
38 | + | * `mqtt-broker` (default: `"localhost"`) | |
39 | + | ||
40 | + | The hostname or IP address of the MQTT broker. | |
41 | + | ||
42 | + | * `mqtt-client` (default: `"usbrelayd"`) | |
43 | + | ||
44 | + | The client name used when connecting to the broker. | |
45 | + | ||
46 | + | ## Copying | |
47 | + | ||
48 | + | SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site> | |
49 | + | ||
50 | + | SPDX-License-Identifier: GPL-3.0-or-later |
make.scm unknown status 2
1 | - | #!/usr/bin/env sh | |
2 | - | exec guile -s "$0" "$@" | |
3 | - | !# | |
4 | - | ||
5 | - | ;;; SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site> | |
6 | - | ;;; | |
7 | - | ;;; SPDX-License-Identifier: GPL-3.0-or-later | |
8 | - | ||
9 | - | (use-modules (potato make)) | |
10 | - | ||
11 | - | (chdir (dirname (current-filename))) | |
12 | - | ||
13 | - | (initialize) | |
14 | - | ||
15 | - | (: "lint" '() | |
16 | - | "reuse lint") | |
17 | - | ||
18 | - | (: "reuse" '() | |
19 | - | (lambda () | |
20 | - | (system* | |
21 | - | "reuse" "annotate" | |
22 | - | "-c" "Evgeny Pisemsky <mail@pisemsky.site>" | |
23 | - | "-l" "GPL-3.0-or-later" | |
24 | - | "-r" "." | |
25 | - | "--skip-existing" | |
26 | - | "--skip-unrecognised"))) | |
27 | - | ||
28 | - | (: "info" '("manuals/cogd.info")) | |
29 | - | ||
30 | - | (: "manuals/cogd.info" '("manuals/cogd.skb") | |
31 | - | "skribilo -t info -o manuals/cogd.info manuals/cogd.skb") | |
32 | - | ||
33 | - | (exit (execute)) | |
34 | - | ||
35 | - | ;; Local Variables: | |
36 | - | ;; mode: scheme | |
37 | - | ;; End: |
manifest.scm unknown status 2
1 | - | ;;; SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site> | |
2 | - | ;;; | |
3 | - | ;;; SPDX-License-Identifier: GPL-3.0-or-later | |
4 | - | ||
5 | - | (specifications->manifest | |
6 | - | (list "guile" "potato-make" "reuse" "skribilo")) |
manuals/cogd.skb unknown status 2
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 [Services] | |
12 | - | (subsection :title [USB relay daemon] | |
13 | - | (p [USB relay daemon allows controlling locally connected USB HID relays remotely via MQTT protocol.]) | |
14 | - | (description | |
15 | - | (item :key (list [Variable: ,(code [usbrelayd-service-type])]) | |
16 | - | (p [This is the service type for the USB relay daemon. Its value is a ,(code [usbrelayd-configuration]) (see below).])) | |
17 | - | (item :key (list [Data Type: ,(code [usbrelayd-configuration])]) | |
18 | - | (p [This is the configuration for the USB relay daemon, with the following fields:]) | |
19 | - | (description | |
20 | - | (item :key (list [,(code [package]) (default: ,(code [python-usbrelay]))]) | |
21 | - | (p [The package containing the USB relay daemon.])) | |
22 | - | (item :key (list [,(code [mqtt-broker]) (default: ,(code ["localhost"]))]) | |
23 | - | (p [The hostname or IP address of the MQTT broker.])) | |
24 | - | (item :key (list [,(code [mqtt-client]) (default: ,(code ["usbrelayd"]))]) | |
25 | - | (p [The client name used when connecting to the broker.]))))))))) |
modules/cogd/packages/guile-xyz.scm
7 | 7 | (use-modules (guix packages) | |
8 | 8 | (guix git-download) | |
9 | 9 | (guix gexp) | |
10 | - | (guix utils) | |
10 | + | ;; (guix utils) | |
11 | 11 | (guix build-system guile) | |
12 | - | (guix build-system copy) | |
13 | 12 | ((guix licenses) #:prefix license:) | |
14 | - | (gnu packages skribilo) | |
15 | 13 | (gnu packages bash) | |
16 | - | (gnu packages build-tools) | |
14 | + | ;; (gnu packages build-tools) | |
17 | 15 | (gnu packages guile)) | |
18 | 16 | ||
19 | 17 | (define-public guile-gpio | |
… | |||
93 | 91 | (description | |
94 | 92 | "This package provides a very simple pastebin written in Guile Scheme.") | |
95 | 93 | (license license:gpl3+)))) | |
96 | - | ||
97 | - | (define-public cogd-manual | |
98 | - | (package | |
99 | - | (name "cogd-manual") | |
100 | - | (version "git") | |
101 | - | (source | |
102 | - | (local-file "../../.." | |
103 | - | "cogd-checkout" | |
104 | - | #:recursive? #t | |
105 | - | #:select? (or (git-predicate | |
106 | - | ((compose dirname dirname dirname) | |
107 | - | (current-source-directory))) | |
108 | - | (const #t)))) | |
109 | - | (build-system copy-build-system) | |
110 | - | (arguments | |
111 | - | (list | |
112 | - | #:install-plan | |
113 | - | #~'(("manuals/cogd.info" "share/info/")) | |
114 | - | #:phases | |
115 | - | #~(modify-phases %standard-phases | |
116 | - | (add-before 'install 'build | |
117 | - | (lambda _ | |
118 | - | (setenv "GUILE_AUTO_COMPILE" "0") | |
119 | - | (invoke "guile" "make.scm" "info")))))) | |
120 | - | (native-inputs (list guile-3.0 potato-make skribilo)) | |
121 | - | (home-page "https://repo.pisemsky.site/cogd") | |
122 | - | (synopsis "Manual for the cogd") | |
123 | - | (description | |
124 | - | "This package provides an info manual for the \"Channel of guix | |
125 | - | definitions\".") | |
126 | - | (license license:gpl3+))) |