diff options
| author | 2025-08-08 11:01:14 -0400 | |
|---|---|---|
| committer | 2025-08-08 11:01:14 -0400 | |
| commit | 968fd0780ec069f720b8aa6af0bf66a5a5697b90 (patch) | |
| tree | c94dcfa45672d44f68a4fefd1977ce4a39c07899 /examples-lib/mcgoron | |
| parent | rationalize packages, add foment (diff) | |
reorganize under custom namespace
Diffstat (limited to 'examples-lib/mcgoron')
| -rw-r--r-- | examples-lib/mcgoron/guix/mcgoron-hello-world.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/examples-lib/mcgoron/guix/mcgoron-hello-world.scm b/examples-lib/mcgoron/guix/mcgoron-hello-world.scm new file mode 100644 index 0000000..7f54c55 --- /dev/null +++ b/examples-lib/mcgoron/guix/mcgoron-hello-world.scm @@ -0,0 +1,49 @@ +#| 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 mcgoron-hello-world) + #:use-module (guix packages) + #:use-module (guix licenses) + #:use-module (guix gexp) + #:use-module (mcgoron guix chibi) + #:use-module (mcgoron guix foment)) + +(define hello-world-path "./examples-src/hello-world") + +(define-public hello-world-chibi + (package + (name "hello-world-chibi") + (version "1.0") + (synopsis "Prints hello world") + (description "Prints hello world") + (license asl2.0) + (home-page "https://example.com") + (source (local-file hello-world-path #:recursive? #t)) + (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") + (synopsis "Prints hello world") + (description "Prints hello world") + (license asl2.0) + (home-page "https://example.com") + (source (local-file hello-world-path #:recursive? #t)) + (build-system foment-build-system) + (inputs (list foment)))) + |
