aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2022-06-30 19:11:34 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2022-06-30 20:01:37 +0200
commitd5170f78f576ba1bf51ec6f1d5e6aee0073b8264 (patch)
tree0042a23893387b7bd5dd010ec853934ebbff90d7 /gnu/packages
parent141d01e670bea890d933e40ff462fc1727c35bd3 (diff)
downloadguix-d5170f78f576ba1bf51ec6f1d5e6aee0073b8264.tar.gz
guix-d5170f78f576ba1bf51ec6f1d5e6aee0073b8264.zip
gnu: Add sdl2kit.
* gnu/packages/lisp-xyz.scm (cl-sdl2kit, ecl-sdl2kit, sbcl-sdl2kit): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 5156ae0f98..2bdacf25dc 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22226,3 +22226,37 @@ can be useful for games, 3D, and GL in general.")
(define-public ecl-mathkit
(sbcl-package->ecl-package sbcl-mathkit))
+
+(define-public sbcl-sdl2kit
+ (let ((commit "aae663224a10ece2b0c374aa5942a3f0bc1b3c2f"))
+ (package
+ (name "sbcl-sdl2kit")
+ (version (git-version "0.0.0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lispgames/sdl2kit/")
+ (commit commit)))
+ (file-name (git-file-name "cl-sdl2kit" version))
+ (sha256
+ (base32 "10ymmxqsvdn7ndda9k2qcixj75l7namgqdxc5y2w3v5r1313fy2d"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-alexandria
+ sbcl-cl-opengl
+ sbcl-defpackage-plus
+ sbcl-sdl2))
+ (home-page "https://github.com/lispgames/sdl2kit/")
+ (synopsis "Utility kit for CL-SDL2")
+ (description
+ "This is a utility kit for @code{cl-sdl2} that provides something similar to
+GLUT. However, it's also geared at being useful for \"real\" applications or
+games.")
+ (license license:expat))))
+
+(define-public cl-sdl2kit
+ (sbcl-package->cl-source-package sbcl-sdl2kit))
+
+(define-public ecl-sdl2kit
+ (sbcl-package->ecl-package sbcl-sdl2kit))