diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2023-03-06 23:42:24 +0000 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2023-03-07 11:05:11 +0100 |
commit | b0dc4199d6d8ceb1d918e753e2520e2311e4db78 (patch) | |
tree | 9ff56dc09cc9d95c2e242fe8eb88b1435cbcf20d | |
parent | e08ae5900a16ac29e6adc369f513f574137eb86e (diff) | |
download | guix-b0dc4199d6d8ceb1d918e753e2520e2311e4db78.tar.gz |
gnu: Add cl-raylib.
* gnu/packages/lisp-xyz.scm (cl-raylib, ecl-cl-raylib, sbcl-cl-raylib): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d3b823fdbb..63dad8c72f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -4322,6 +4322,49 @@ relational database engine.") (define-public ecl-cl-sqlite (sbcl-package->ecl-package sbcl-cl-sqlite)) +(define-public sbcl-cl-raylib + (let ((commit "985ceebef4cb56c651cddc23bd71812f2be38c2d") + (revision "0")) + (package + (name "sbcl-cl-raylib") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/longlene/cl-raylib") + (commit commit))) + (file-name (git-file-name "cl-raylib" version)) + (sha256 + (base32 "1kighj35g6dn426mhr2ppz3gm49v1q4n42ydn619pclrqwyrnc2z")))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:tests? #f ; no tests https://github.com/longlene/cl-raylib/issues/40 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/library.lisp" + (("libraylib\\.so") + (search-input-file inputs "/lib/libraylib.so")))))))) + (inputs + (list raylib + sbcl-3d-matrices + sbcl-3d-vectors + sbcl-alexandria + sbcl-cffi)) + (home-page "https://github.com/longlene/cl-raylib") + (synopsis "Common Lisp bindings to raylib") + (description "This package provides Common Lisp CFFI bindings to the +Raylib game development library.") + (license license:expat)))) + +(define-public cl-raylib + (sbcl-package->cl-source-package sbcl-cl-raylib)) + +(define-public ecl-cl-raylib + (sbcl-package->ecl-package sbcl-cl-raylib)) + (define-public sbcl-cl-redis (let ((commit "7d592417421cf7cd1cffa96043b457af0490df7d") (revision "0")) |