|
1 | 1 | ;; SPDX-License-Identifier: MPL-2.0 |
2 | | -;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> |
3 | | -;; |
4 | | -;; Guix package definition for PseudoScript |
5 | | -;; |
6 | | -;; Usage: |
7 | | -;; guix shell -D -f guix.scm # Enter development shell |
8 | | -;; guix build -f guix.scm # Build package |
9 | | -;; |
10 | | -;; TODO: Replace PseudoScript and customize inputs for your language/stack. |
11 | | -;; See: https://guix.gnu.org/manual/en/html_node/Defining-Packages.html |
| 2 | +;; Guix development environment. |
| 3 | +;; Usage: guix shell -D -f guix.scm |
12 | 4 |
|
13 | 5 | (use-modules (guix packages) |
14 | | - (guix gexp) |
15 | | - (guix git-download) |
16 | 6 | (guix build-system gnu) |
17 | 7 | (guix licenses) |
18 | | - (gnu packages base)) |
| 8 | + (gnu packages base) |
| 9 | + (gnu packages bash) |
| 10 | + (gnu packages base) |
| 11 | + (gnu packages java) |
| 12 | + (gnu packages rust) |
| 13 | + (gnu packages cmake) |
| 14 | + (gnu packages zig) |
| 15 | + (gnu packages golang) |
| 16 | + (gnu packages node) |
| 17 | + (gnu packages python)) |
19 | 18 |
|
20 | 19 | (package |
21 | | - (name "PseudoScript") |
| 20 | + (name "pseudoscript") |
22 | 21 | (version "0.1.0") |
23 | | - (source (local-file "." "source" |
24 | | - #:recursive? #t |
25 | | - #:select? (lambda (file stat) |
26 | | - (not (string-contains file ".git"))))) |
| 22 | + (source #f) |
27 | 23 | (build-system gnu-build-system) |
28 | | - (arguments |
29 | | - '(#:phases |
30 | | - (modify-phases %standard-phases |
31 | | - ;; TODO: Customize build phases for your project |
32 | | - ;; Examples for common stacks: |
33 | | - ;; |
34 | | - ;; Rust: |
35 | | - ;; (replace 'build (lambda _ (invoke "cargo" "build" "--release"))) |
36 | | - ;; (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"))) |
45 | | - (delete 'configure) |
46 | | - (delete 'build) |
47 | | - (delete 'check) |
48 | | - (replace 'install |
49 | | - (lambda* (#:key outputs #:allow-other-keys) |
50 | | - (let ((out (assoc-ref outputs "out"))) |
51 | | - (mkdir-p (string-append out "/share/doc")) |
52 | | - (copy-file "README.adoc" |
53 | | - (string-append out "/share/doc/README.adoc")))))))) |
54 | | - (native-inputs |
55 | | - (list |
56 | | - ;; TODO: Add build-time dependencies |
57 | | - ;; Examples: |
58 | | - ;; rust (gnu packages rust) |
59 | | - ;; elixir (gnu packages elixir) |
60 | | - ;; zig (gnu packages zig) |
61 | | - )) |
62 | | - (inputs |
63 | | - (list |
64 | | - ;; TODO: Add runtime dependencies |
65 | | - )) |
66 | | - (home-page "https://github.com/hyperpolymath/PseudoScript") |
67 | | - (synopsis "{{PROJECT_PURPOSE}}") |
68 | | - (description "RSR-compliant project. See README.adoc for details.") |
69 | | - (license (list |
70 | | - ;; PMPL-1.0-or-later extends MPL-2.0 |
71 | | - mpl2.0))) |
| 24 | + (inputs (list coreutils bash make openjdk rust cmake zig go node python)) |
| 25 | + (synopsis "pseudoscript") |
| 26 | + (description "pseudoscript — part of the hyperpolymath ecosystem.") |
| 27 | + (home-page "https://github.com/hyperpolymath/pseudoscript") |
| 28 | + (license ((@@ (guix licenses) license) "MPL-2.0" "https://github.com/hyperpolymath/palimpsest-license"))) |
0 commit comments