Skip to content

Commit ebf55ea

Browse files
committed
chore(guix): substitute leftover template placeholders; fix licence comment
The RSR-scaffold guix files in two sub-projects still carried unsubstituted {{...}} template tokens and a nonsense "MPL-2.0 extends MPL-2.0" licence comment. - affinescriptiser/{guix.scm,.guix-channel}: substitute {{PROJECT_NAME}} -> affinescriptiser, {{OWNER}} -> hyperpolymath, {{AUTHOR}}/{{AUTHOR_EMAIL}}/ {{CURRENT_YEAR}} -> the canonical author/2026; real synopsis ("Wrap code in affine + dependent types targeting WASM"); note it is a Rust CLI. - affinescript-vite/{guix.scm,.guix-channel}: substitute {{CURRENT_YEAR}} -> 2026 and the canonical author; real synopsis (Vite plugin for AffineScript). - Both guix.scm: replace `(license (list ;; MPL-2.0 extends MPL-2.0 mpl2.0))` with the idiomatic single `(license mpl2.0)`. Paren-balanced; no guix toolchain in this environment to run `guix build`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015wqBHniW8sHDCqCoEvBe9n
1 parent ac98c81 commit ebf55ea

4 files changed

Lines changed: 21 additions & 37 deletions

File tree

affinescript-vite/.guix-channel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;; SPDX-License-Identifier: MPL-2.0
2-
;; Copyright (c) {{CURRENT_YEAR}} hyperpolymath (hyperpolymath) <j.d.a.jewell@open.ac.uk>
2+
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
;;
44
;; Guix channel definition for AffineScript-Vite
55
;;

affinescript-vite/guix.scm

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;; SPDX-License-Identifier: MPL-2.0
2-
;; Copyright (c) {{CURRENT_YEAR}} hyperpolymath (hyperpolymath) <j.d.a.jewell@open.ac.uk>
2+
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
;;
44
;; Guix package definition for AffineScript-Vite
55
;;
@@ -64,8 +64,6 @@
6464
;; TODO: Add runtime dependencies
6565
))
6666
(home-page "https://github.com/hyperpolymath/AffineScript-Vite")
67-
(synopsis "{{PROJECT_PURPOSE}}")
67+
(synopsis "Official Vite plugin for AffineScript — compiles .as/.affine to WASM + JS with HMR")
6868
(description "RSR-compliant project. See README.adoc for details.")
69-
(license (list
70-
;; MPL-2.0 extends MPL-2.0
71-
mpl2.0)))
69+
(license mpl2.0))

affinescriptiser/.guix-channel

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
;; SPDX-License-Identifier: MPL-2.0
2-
;; Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}>
2+
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
;;
4-
;; Guix channel definition for {{PROJECT_NAME}}
4+
;; Guix channel definition for affinescriptiser
55
;;
66
;; To use this channel, add to ~/.config/guix/channels.scm:
77
;;
88
;; (channel
9-
;; (name '{{PROJECT_NAME}})
10-
;; (url "https://github.com/{{OWNER}}/{{PROJECT_NAME}}")
9+
;; (name 'affinescriptiser)
10+
;; (url "https://github.com/hyperpolymath/affinescriptiser")
1111
;; (branch "main"))
1212
;;
1313
;; Then: guix pull
1414

1515
(channel
1616
(version 0)
17-
(url "https://github.com/{{OWNER}}/{{PROJECT_NAME}}")
17+
(url "https://github.com/hyperpolymath/affinescriptiser")
1818
(dependencies
1919
(channel
2020
(name 'guix)

affinescriptiser/guix.scm

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
;; SPDX-License-Identifier: MPL-2.0
22
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
;;
4-
;; Guix package definition for {{PROJECT_NAME}}
4+
;; Guix package definition for affinescriptiser
55
;;
66
;; Usage:
77
;; guix shell -D -f guix.scm # Enter development shell
88
;; guix build -f guix.scm # Build package
99
;;
10-
;; TODO: Replace {{PROJECT_NAME}} and customize inputs for your language/stack.
10+
;; affinescriptiser is a Rust CLI (cargo build --release). The build phases
11+
;; below are the RSR scaffold default (install README only); wiring the real
12+
;; cargo build is tracked separately.
1113
;; See: https://guix.gnu.org/manual/en/html_node/Defining-Packages.html
1214

1315
(use-modules (guix packages)
@@ -18,7 +20,7 @@
1820
(gnu packages base))
1921

2022
(package
21-
(name "{{PROJECT_NAME}}")
23+
(name "affinescriptiser")
2224
(version "0.1.0")
2325
(source (local-file "." "source"
2426
#:recursive? #t
@@ -28,20 +30,9 @@
2830
(arguments
2931
'(#:phases
3032
(modify-phases %standard-phases
31-
;; TODO: Customize build phases for your project
32-
;; Examples for common stacks:
33-
;;
34-
;; Rust:
33+
;; TODO: wire the real Rust build, e.g.
3534
;; (replace 'build (lambda _ (invoke "cargo" "build" "--release")))
3635
;; (replace 'check (lambda _ (invoke "cargo" "test")))
37-
;;
38-
;; Elixir:
39-
;; (replace 'build (lambda _ (invoke "mix" "compile")))
40-
;; (replace 'check (lambda _ (invoke "mix" "test")))
41-
;;
42-
;; Zig:
43-
;; (replace 'build (lambda _ (invoke "zig" "build")))
44-
;; (replace 'check (lambda _ (invoke "zig" "build" "test")))
4536
(delete 'configure)
4637
(delete 'build)
4738
(delete 'check)
@@ -53,19 +44,14 @@
5344
(string-append out "/share/doc/README.adoc"))))))))
5445
(native-inputs
5546
(list
56-
;; TODO: Add build-time dependencies
57-
;; Examples:
58-
;; rust (gnu packages rust)
59-
;; elixir (gnu packages elixir)
60-
;; zig (gnu packages zig)
47+
;; TODO: add build-time dependencies (Rust toolchain) once the cargo
48+
;; build phase above is wired.
6149
))
6250
(inputs
6351
(list
64-
;; TODO: Add runtime dependencies
52+
;; TODO: add runtime dependencies
6553
))
66-
(home-page "https://github.com/hyperpolymath/{{PROJECT_NAME}}")
67-
(synopsis "{{PROJECT_PURPOSE}}")
54+
(home-page "https://github.com/hyperpolymath/affinescriptiser")
55+
(synopsis "Wrap code in affine + dependent types targeting WASM")
6856
(description "RSR-compliant project. See README.adoc for details.")
69-
(license (list
70-
;; MPL-2.0 extends MPL-2.0
71-
mpl2.0)))
57+
(license mpl2.0))

0 commit comments

Comments
 (0)