Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion affinescript-vite/.guix-channel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;; SPDX-License-Identifier: MPL-2.0
;; Copyright (c) {{CURRENT_YEAR}} hyperpolymath (hyperpolymath) <j.d.a.jewell@open.ac.uk>
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
;;
;; Guix channel definition for AffineScript-Vite
;;
Expand Down
8 changes: 3 additions & 5 deletions affinescript-vite/guix.scm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;; SPDX-License-Identifier: MPL-2.0
;; Copyright (c) {{CURRENT_YEAR}} hyperpolymath (hyperpolymath) <j.d.a.jewell@open.ac.uk>
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
;;
;; Guix package definition for AffineScript-Vite
;;
Expand Down Expand Up @@ -64,8 +64,6 @@
;; TODO: Add runtime dependencies
))
(home-page "https://github.com/hyperpolymath/AffineScript-Vite")
(synopsis "{{PROJECT_PURPOSE}}")
(synopsis "Official Vite plugin for AffineScript — compiles .as/.affine to WASM + JS with HMR")
(description "RSR-compliant project. See README.adoc for details.")
(license (list
;; MPL-2.0 extends MPL-2.0
mpl2.0)))
(license mpl2.0))
10 changes: 5 additions & 5 deletions affinescriptiser/.guix-channel
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
;; SPDX-License-Identifier: MPL-2.0
;; Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}>
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
;;
;; Guix channel definition for {{PROJECT_NAME}}
;; Guix channel definition for affinescriptiser
;;
;; To use this channel, add to ~/.config/guix/channels.scm:
;;
;; (channel
;; (name '{{PROJECT_NAME}})
;; (url "https://github.com/{{OWNER}}/{{PROJECT_NAME}}")
;; (name 'affinescriptiser)
;; (url "https://github.com/hyperpolymath/affinescriptiser")
;; (branch "main"))
;;
;; Then: guix pull

(channel
(version 0)
(url "https://github.com/{{OWNER}}/{{PROJECT_NAME}}")
(url "https://github.com/hyperpolymath/affinescriptiser")
(dependencies
(channel
(name 'guix)
Expand Down
38 changes: 12 additions & 26 deletions affinescriptiser/guix.scm
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
;; SPDX-License-Identifier: MPL-2.0
;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
;;
;; Guix package definition for {{PROJECT_NAME}}
;; Guix package definition for affinescriptiser
;;
;; Usage:
;; guix shell -D -f guix.scm # Enter development shell
;; guix build -f guix.scm # Build package
;;
;; TODO: Replace {{PROJECT_NAME}} and customize inputs for your language/stack.
;; affinescriptiser is a Rust CLI (cargo build --release). The build phases
;; below are the RSR scaffold default (install README only); wiring the real
;; cargo build is tracked separately.
;; See: https://guix.gnu.org/manual/en/html_node/Defining-Packages.html

(use-modules (guix packages)
Expand All @@ -18,7 +20,7 @@
(gnu packages base))

(package
(name "{{PROJECT_NAME}}")
(name "affinescriptiser")
(version "0.1.0")
(source (local-file "." "source"
#:recursive? #t
Expand All @@ -28,20 +30,9 @@
(arguments
'(#:phases
(modify-phases %standard-phases
;; TODO: Customize build phases for your project
;; Examples for common stacks:
;;
;; Rust:
;; TODO: wire the real Rust build, e.g.
;; (replace 'build (lambda _ (invoke "cargo" "build" "--release")))
;; (replace 'check (lambda _ (invoke "cargo" "test")))
;;
;; Elixir:
;; (replace 'build (lambda _ (invoke "mix" "compile")))
;; (replace 'check (lambda _ (invoke "mix" "test")))
;;
;; Zig:
;; (replace 'build (lambda _ (invoke "zig" "build")))
;; (replace 'check (lambda _ (invoke "zig" "build" "test")))
(delete 'configure)
(delete 'build)
(delete 'check)
Expand All @@ -53,19 +44,14 @@
(string-append out "/share/doc/README.adoc"))))))))
(native-inputs
(list
;; TODO: Add build-time dependencies
;; Examples:
;; rust (gnu packages rust)
;; elixir (gnu packages elixir)
;; zig (gnu packages zig)
;; TODO: add build-time dependencies (Rust toolchain) once the cargo
;; build phase above is wired.
))
(inputs
(list
;; TODO: Add runtime dependencies
;; TODO: add runtime dependencies
))
(home-page "https://github.com/hyperpolymath/{{PROJECT_NAME}}")
(synopsis "{{PROJECT_PURPOSE}}")
(home-page "https://github.com/hyperpolymath/affinescriptiser")
(synopsis "Wrap code in affine + dependent types targeting WASM")
(description "RSR-compliant project. See README.adoc for details.")
(license (list
;; MPL-2.0 extends MPL-2.0
mpl2.0)))
(license mpl2.0))
Loading