|
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 pandoc-a2ml |
5 | | -;; |
6 | | -;; Usage: |
7 | | -;; guix shell -D -f guix.scm # Enter development shell |
8 | | -;; guix build -f guix.scm # Build package |
9 | | -;; |
10 | | -;; See: https://guix.gnu.org/manual/en/html_node/Defining-Packages.html |
11 | | -;; See: https://guix.gnu.org/manual/en/html_node/Defining-Packages.html |
| 1 | +; SPDX-License-Identifier: MPL-2.0 |
| 2 | +;; guix.scm — GNU Guix package definition for squisher-corpus |
| 3 | +;; Usage: guix shell -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 | | - (guix licenses) |
18 | | - (gnu packages base)) |
| 7 | + (guix licenses)) |
19 | 8 |
|
20 | 9 | (package |
21 | | - (name "pandoc-a2ml") |
| 10 | + (name "squisher-corpus") |
22 | 11 | (version "0.1.0") |
23 | | - (source (local-file "." "source" |
24 | | - #:recursive? #t |
25 | | - #:select? (lambda (file stat) |
26 | | - (not (string-contains file ".git"))))) |
| 12 | + (source #f) |
27 | 13 | (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/pandoc-a2ml") |
67 | | - (synopsis "Pandoc custom reader/writer for A2ML format") |
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))) |
| 14 | + (synopsis "squisher-corpus") |
| 15 | + (description "squisher-corpus — part of the hyperpolymath ecosystem.") |
| 16 | + (home-page "https://github.com/hyperpolymath/squisher-corpus") |
| 17 | + (license ((@@ (guix licenses) license) "PMPL-1.0-or-later" |
| 18 | + "https://github.com/hyperpolymath/palimpsest-license"))) |
0 commit comments