diff options
| author | 2025-08-11 07:47:14 -0400 | |
|---|---|---|
| committer | 2025-08-11 07:47:14 -0400 | |
| commit | c57fab3dbf2953ae02b968dfd20bb7c2fe221ca6 (patch) | |
| tree | 05aa9edd56b94980c1e9690f0460203eb0d52a7d /mcgoron/guix/scheme-hello-world.scm | |
| parent | sagittarius (diff) | |
gauche
Diffstat (limited to 'mcgoron/guix/scheme-hello-world.scm')
| -rw-r--r-- | mcgoron/guix/scheme-hello-world.scm | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/mcgoron/guix/scheme-hello-world.scm b/mcgoron/guix/scheme-hello-world.scm new file mode 100644 index 0000000..1bbef44 --- /dev/null +++ b/mcgoron/guix/scheme-hello-world.scm @@ -0,0 +1,94 @@ +#| Copyright (C) 2025 Peter McGoron + | + | This program is free software: you can redistribute it and/or modify it + | under the terms of the GNU General Public License as published by the + | Free Software Foundation, either version 3 of the License, or (at your + | option) any later version. + | + | This program is distributed in the hope that it will be useful, but + | WITHOUT ANY WARRANTY; without even the implied warranty of + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + | General Public License for more details. + | + | You should have received a copy of the GNU General Public License along + | with this program. If not, see <https://www.gnu.org/licenses/>. + |# + +(define-module (mcgoron guix scheme-hello-world) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix licenses) + #:use-module (guix gexp) + #:use-module (guix build-system gnu) + #:use-module (gnu packages tls) + #:use-module (mcgoron guix chibi) + #:use-module (mcgoron guix foment) + #:use-module (mcgoron guix sagittarius) + #:use-module (mcgoron guix gauche)) + +(define (hello-world-r7rs version) + (origin + (method url-fetch) + (uri (string-append "https://florida.moe/ftp/hello-world-r7rs/" + version ".tar.gz")) + (sha256 (base32 "1cx9p2mz3cmn02imp137vqmq8aw3mh5s23ybprgkc8pshgmaf8jn")))) + +(define-public hello-world-chibi + (package + (name "hello-world-chibi") + (version "1.0.0") + (synopsis "Prints hello world") + (description "Prints hello world") + (license asl2.0) + (home-page "https://example.com") + (source (hello-world-r7rs version)) + (build-system chibi-scheme-build-system) + (inputs (list chibi-scheme-with-path)))) + +(define-public hello-world-foment + (package + (name "hello-world-foment") + (version "1.0.0") + (synopsis "Prints hello world") + (description "Prints hello world") + (license asl2.0) + (home-page "https://example.com") + (source (hello-world-r7rs version)) + (build-system foment-build-system) + (inputs (list foment)))) + +(define-public hello-world-sagittarius + (package + (name "hello-world-sagittarius") + (version "1.0.0") + (synopsis "Prints hello world") + (description "Prints hello world") + (license asl2.0) + (home-page "https://example.com") + (source (hello-world-r7rs version)) + (build-system sagittarius-build-system) + (inputs (list foment)))) + +(define-public hello-world-gauche + (package + (name "hello-world-gauche") + (version "1.0.0") + (synopsis "Prints hello world") + (description "Prints hello world") + (license asl2.0) + (home-page "https://example.com") + (source (origin + (method url-fetch) + (uri (string-append "https://florida.moe/ftp/hello-world-gauche/" + version ".tar.gz")) + (sha256 (base32 "0qfjzx5kwf8c5cjh5p72fg7wiyfn6mak4h5wsrhigzn9fzakxv3b")))) + (build-system gnu-build-system) + (arguments + (list + #:imported-modules `(,@%default-gnu-imported-modules (mcgoron guix gauche-build-system)) + #:modules '((mcgoron guix gauche-build-system) (guix build utils) (guix build gnu-build-system)) + #:phases + #~(modify-phases %standard-phases + (replace 'configure gauche-configure)))) + (inputs (list gauche-with-path)) + (native-inputs (list mbedtls gauche-with-path)))) |
