Clean up channel
modules/cogd/packages/emacs-xyz.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 | - | (define-module (cogd packages emacs-xyz)) | |
6 | - | ||
7 | - | (use-modules (gnu packages emacs-xyz)) | |
8 | - | ||
9 | - | (re-export emacs-go-translate) |
modules/cogd/packages/engineering.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 | - | (define-module (cogd packages engineering)) | |
6 | - | ||
7 | - | (use-modules (gnu packages engineering)) | |
8 | - | ||
9 | - | (re-export pcb2gcode | |
10 | - | bcnc | |
11 | - | aacircuit) |
modules/cogd/packages/figlet.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 | - | (define-module (cogd packages figlet)) | |
6 | - | ||
7 | - | (use-modules (gnu packages figlet)) | |
8 | - | ||
9 | - | (re-export toilet) |
modules/cogd/packages/guile-xyz.scm
19 | 19 | (gnu packages messaging) | |
20 | 20 | (gnu packages pkg-config)) | |
21 | 21 | ||
22 | - | (re-export guile-mqtt) | |
23 | - | ||
24 | 22 | (define-public guile-gpio | |
25 | 23 | (let ((commit "363a036dbfe26c02ce32864894af9224483bc84b") | |
26 | 24 | (revision "0")) |
modules/cogd/packages/hardware.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 | - | (define-module (cogd packages hardware)) | |
6 | - | ||
7 | - | (use-modules (gnu packages hardware)) | |
8 | - | ||
9 | - | (re-export python-usbrelay) |
modules/cogd/packages/python-xyz.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 | - | (define-module (cogd packages python-xyz)) | |
6 | - | ||
7 | - | (use-modules (guix deprecation) | |
8 | - | (gnu packages engineering) | |
9 | - | (gnu packages python-compression) | |
10 | - | (gnu packages python-web) | |
11 | - | (gnu packages python-xyz) | |
12 | - | (gnu packages xdisorg)) | |
13 | - | ||
14 | - | (re-export python-bresenham | |
15 | - | python-pyclip | |
16 | - | python-pypubsub | |
17 | - | python-shxparser | |
18 | - | python-platypush) | |
19 | - | ||
20 | - | (define-deprecated/public-alias python-zipp-3 python-zipp) | |
21 | - | ||
22 | - | (define-deprecated/public-alias python-urllib3-for-platypush python-urllib3) |
modules/cogd/services/dns.scm
4 | 4 | ||
5 | 5 | (define-module (cogd services dns)) | |
6 | 6 | ||
7 | - | (use-modules (guix records) | |
8 | - | (guix gexp) | |
9 | - | (gnu packages dns) | |
10 | - | (gnu packages admin) | |
11 | - | (gnu system shadow) | |
12 | - | (gnu services) | |
7 | + | (use-modules (gnu services) | |
8 | + | (gnu services dns) | |
13 | 9 | (gnu services shepherd)) | |
14 | 10 | ||
15 | - | (export unbound-configuration | |
16 | - | unbound-configuration? | |
17 | - | unbound-configuration-package | |
18 | - | unbound-configuration-config-file | |
19 | - | unbound-configuration-requirement | |
20 | - | unbound-service-type) | |
11 | + | (export unbound-service-type/fixed) | |
21 | 12 | ||
22 | - | (define-record-type* <unbound-configuration> | |
23 | - | unbound-configuration | |
24 | - | make-unbound-configuration | |
25 | - | unbound-configuration? | |
26 | - | (package unbound-configuration-package | |
27 | - | (default unbound)) | |
28 | - | (config-file unbound-configuration-config-file | |
29 | - | (default #f)) | |
30 | - | (requirement unbound-configuration-requirement | |
31 | - | (default '(user-processes loopback)))) | |
13 | + | (define unbound-shepherd-service | |
14 | + | (@@ (gnu services dns) unbound-shepherd-service)) | |
32 | 15 | ||
33 | - | (define unbound-accounts | |
34 | - | (const | |
35 | - | (list (user-group | |
36 | - | (name "unbound") | |
37 | - | (system? #t)) | |
38 | - | (user-account | |
39 | - | (name "unbound") | |
40 | - | (group "unbound") | |
41 | - | (system? #t) | |
42 | - | (home-directory "/var/empty") | |
43 | - | (shell (file-append shadow "/sbin/nologin")))))) | |
16 | + | (define (unbound-shepherd-service/fixed config) | |
17 | + | (let ((unfixed (unbound-shepherd-service config))) | |
18 | + | (list (shepherd-service | |
19 | + | (inherit (car unfixed)) | |
20 | + | (provision '(unbound)))))) | |
44 | 21 | ||
45 | - | (define (unbound-shepherd-service config) | |
46 | - | (match-record | |
47 | - | config <unbound-configuration> | |
48 | - | (package config-file requirement) | |
49 | - | (list (shepherd-service | |
50 | - | (documentation "Run the Unbound DNS resolver.") | |
51 | - | (provision '(unbound)) | |
52 | - | (requirement requirement) | |
53 | - | (start #~(make-forkexec-constructor | |
54 | - | (list #$(file-append package "/sbin/unbound") | |
55 | - | "-d" "-p" | |
56 | - | #$@(if config-file | |
57 | - | (list "-c" config-file) | |
58 | - | '())))) | |
59 | - | (stop #~(make-kill-destructor)))))) | |
60 | - | ||
61 | - | (define unbound-service-type | |
22 | + | (define unbound-service-type/fixed | |
62 | 23 | (service-type | |
63 | - | (description "Run the Unbound DNS resolver.") | |
64 | - | (name 'unbound) | |
65 | - | (extensions | |
66 | - | (list (service-extension account-service-type unbound-accounts) | |
67 | - | (service-extension shepherd-root-service-type unbound-shepherd-service))) | |
68 | - | (default-value (unbound-configuration)))) | |
24 | + | (inherit unbound-service-type) | |
25 | + | (extensions (map (lambda (ext) | |
26 | + | (if (eq? (service-extension-target ext) | |
27 | + | shepherd-root-service-type) | |
28 | + | (service-extension shepherd-root-service-type | |
29 | + | unbound-shepherd-service/fixed) | |
30 | + | ext)) | |
31 | + | (service-type-extensions unbound-service-type))))) |
modules/cogd/services/unbound.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 | - | (define-module (cogd services unbound)) | |
6 | - | ||
7 | - | (use-modules (gnu services) | |
8 | - | (gnu services dns) | |
9 | - | (gnu services shepherd)) | |
10 | - | ||
11 | - | (export unbound-service-type/fixed) | |
12 | - | ||
13 | - | (define unbound-shepherd-service | |
14 | - | (@@ (gnu services dns) unbound-shepherd-service)) | |
15 | - | ||
16 | - | (define (unbound-shepherd-service/fixed config) | |
17 | - | (let ((unfixed (unbound-shepherd-service config))) | |
18 | - | (list (shepherd-service | |
19 | - | (inherit (car unfixed)) | |
20 | - | (provision '(unbound)))))) | |
21 | - | ||
22 | - | (define unbound-service-type/fixed | |
23 | - | (service-type | |
24 | - | (inherit unbound-service-type) | |
25 | - | (extensions (map (lambda (ext) | |
26 | - | (if (eq? (service-extension-target ext) | |
27 | - | shepherd-root-service-type) | |
28 | - | (service-extension shepherd-root-service-type | |
29 | - | unbound-shepherd-service/fixed) | |
30 | - | ext)) | |
31 | - | (service-type-extensions unbound-service-type))))) |