aboutsummaryrefslogtreecommitdiffstats
path: root/examples-lib/mcgoron/guix/mcgoron-hello-world.scm
blob: 7f54c5517dd9b84983e49426cb0d63ee143e0a59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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))))