diff options
| author | 2025-08-08 10:42:27 -0400 | |
|---|---|---|
| committer | 2025-08-08 10:42:27 -0400 | |
| commit | 44433f42f14eb0c86b87555710c3d950dd300099 (patch) | |
| tree | 6bacee719592db24f6e86ec2818ab06bd01429db /examples-lib | |
| parent | update README.md (diff) | |
rationalize packages, add foment
Diffstat (limited to 'examples-lib')
| -rw-r--r-- | examples-lib/gnu/packages/mcgoron-hello-world.scm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/examples-lib/gnu/packages/mcgoron-hello-world.scm b/examples-lib/gnu/packages/mcgoron-hello-world.scm new file mode 100644 index 0000000..bb6caca --- /dev/null +++ b/examples-lib/gnu/packages/mcgoron-hello-world.scm @@ -0,0 +1,51 @@ +#| 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 (gnu packages mcgoron-hello-world) + #:use-module (guix packages) + #:use-module (guix licenses) + #:use-module (guix gexp) + #:use-module (gnu packages chibi-scheme-with-path) + #:use-module (mcgoron guix chibi) + #:use-module (gnu packages foment) + #: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)))) + |
