Remove cogd-manual

Evgeny PisemskySun Aug 17 09:30:09+0300 2025

659dc44

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-
71
# Channel of guix definitions
82
93
## Setup

2216
```
2317
2418
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

77
(use-modules (guix packages)
88
             (guix git-download)
99
             (guix gexp)
10-
             (guix utils)
10+
             ;; (guix utils)
1111
             (guix build-system guile)
12-
             (guix build-system copy)
1312
             ((guix licenses) #:prefix license:)
14-
             (gnu packages skribilo)
1513
             (gnu packages bash)
16-
             (gnu packages build-tools)
14+
             ;; (gnu packages build-tools)
1715
             (gnu packages guile))
1816
1917
(define-public guile-gpio

9391
      (description
9492
       "This package provides a very simple pastebin written in Guile Scheme.")
9593
      (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+)))