summaryrefslogtreecommitdiff
path: root/guix.scm
blob: 74b32ba6a83eebb020f514473b559d307c95bf08 (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
(use-modules (guix packages)
             ((guix licenses) #:prefix license:)
             (guix download)
             (guix git)
             (guix git-download)
             (guix build-system gnu)
             (guix utils)
             (gnu packages)
             (gnu packages autotools)
             (gnu packages guile)
             (gnu packages game-development)
             (gnu packages pkg-config)
             (gnu packages sdl)
             (gnu packages texinfo))

(define chickadee
  (let ((commit "ca8b2bd07a07e727b17ebbdf8012c7d9cd135689"))
    (package
      (inherit guile-chickadee)
      (version (string-append "0.9.0-1." (string-take commit 7)))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://git.dthompson.us/chickadee.git")
                      (commit commit)))
                (sha256
                 (base32
                  "1s6wgb58z09f5li90ds6pnmfismd81xawf0qkxr1jkmvywfdg427"))))
      (native-inputs (list autoconf automake pkg-config texinfo)))))

(define catbird
  (let ((commit "fa6a85b92f818f1e0139a33ca4110acc97f8d4f2"))
    (package
      (name "catbird")
      (version (string-append "0.1.0-1." (string-take commit 7)))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://git.dthompson.us/catbird.git")
                      (commit commit)))
                (sha256
                 (base32
                  "0jhsf1idrq433x4l10yfzkmd68k5y1ypsfzqpmh1rv6clczxyszf"))))
      (build-system gnu-build-system)
      (arguments
       '(#:make-flags '("GUILE_AUTO_COMPILE=0")))
      (native-inputs (list autoconf automake pkg-config texinfo))
      (inputs (list guile-3.0))
      (propagated-inputs (list chickadee guile-sdl2))
      (synopsis "Game engine for Scheme programmers")
      (description "Catbird is a game engine written in Guile Scheme.")
      (home-page "https://dthompson.us/projects/chickadee.html")
      (license license:gpl3+))))

(package
  (name "super-bloom")
  (version "0.1.0-git")
  (source (git-checkout (url (dirname (current-filename)))))
  (build-system gnu-build-system)
  (arguments
   '(#:make-flags '("GUILE_AUTO_COMPILE=0")))
  (native-inputs
   (list autoconf automake pkg-config))
  (inputs
   (list guile-3.0))
  (propagated-inputs
   (list catbird))
  (synopsis "Spring Lisp Game Jam 2023")
  (description "Dave's entry to the Spring Lisp Game Jam 2023")
  (home-page "https://dthompson.us")
  (license license:asl2.0))