summaryrefslogtreecommitdiff
path: root/dthompson/packages/games.scm
blob: ad9f5f00c096d05e8a866819f123a884987e5b7b (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
72
73
74
75
76
77
78
79
80
81
82
83
84
(define-module (dthompson packages games)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix download)
  #:use-module (guix git)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages guile)
  #:use-module (gnu packages game-development)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages sdl)
  #:use-module (gnu packages texinfo))

(define-public chickadee-next
  (let ((commit "0297cf27b245cc3ef26fac5825366fa583452779")
        (revision "1"))
    (package
      (inherit guile-chickadee)
      (version (git-version "0.9.0" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://git.dthompson.us/chickadee.git")
                      (commit commit)))
                (sha256
                 (base32
                  "0ikpx942anh89l05gybk41g7nwdihn7npvxg4z4zzn6f5hhld58a"))))
      (native-inputs (list autoconf automake pkg-config texinfo)))))

(define catbird-for-super-bloom
  (let ((commit "fa6a85b92f818f1e0139a33ca4110acc97f8d4f2")
        (revision "1"))
    (package
      (name "catbird")
      (version (git-version "0.1.0" revision commit))
      (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-next 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+))))

(define-public super-bloom
  (let ((commit "a86f4f6d53d05d6e1027619d00882feff1b857a8")
        (revision "1"))
    (package
      (name "super-bloom")
      (version (git-version "0.1.0" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://git.dthompson.us/spring-lisp-game-jam-2023.git")
                      (commit commit)))
                (sha256
                 (base32
                  "1lcy5r83hwy6qwz7vxkfwflrmhaikcf6f2zskar2j3a9li740gic"))))
      (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-for-super-bloom))
      (synopsis "Spring Lisp Game Jam 2023 entry")
      (description "Dave's entry to the Spring Lisp Game Jam 2023.")
      (home-page "https://dthompson.us")
      (license license:asl2.0))))