mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
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>
This commit is contained in:
parent
e08ae5900a
commit
b0dc4199d6
1 changed files with 43 additions and 0 deletions
|
@ -4322,6 +4322,49 @@ (define-public cl-sqlite
|
|||
(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"))
|
||||
|
|
Loading…
Reference in a new issue