gnu: Add cl-rtg-math.

* gnu/packages/lisp-xyz.scm: (sbcl-rtg-math, cl-rtg-math, ecl-rtg-math): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Sharlatan Hellseher 2021-03-26 23:15:24 +00:00 committed by Guillaume Le Vaillant
parent f9c507bbcc
commit 4f4ea08240
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -2929,6 +2929,39 @@ (define-public ecl-glsl-spec
(define-public cl-glsl-spec (define-public cl-glsl-spec
(sbcl-package->cl-source-package sbcl-glsl-spec)) (sbcl-package->cl-source-package sbcl-glsl-spec))
(define-public sbcl-rtg-math
(let ((commit "29fc5b3d0028a4a11a82355ecc8cca62662c69e0")
(revision "1"))
(package
(name "sbcl-rtg-math")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cbaggers/rtg-math")
(commit commit)))
(file-name (git-file-name "rtg-math" version))
(sha256
(base32 "0bhxxnv7ldkkb18zdxyz2rj2a3iawzq2kcp7cn5i91iby7n0082x"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("documentation-utils" ,sbcl-documentation-utils)
("glsl-symbols" ,sbcl-glsl-spec)))
(home-page "https://github.com/cbaggers/rtg-math")
(synopsis "Common Lisp library of game-related math functions")
(description
"RTG-MATH provides a selection of the math routines most commonly needed
for making realtime graphics in Lisp.")
(license license:bsd-2))))
(define-public ecl-rtg-math
(sbcl-package->ecl-package sbcl-rtg-math))
(define-public cl-rtg-math
(sbcl-package->cl-source-package sbcl-rtg-math))
(define-public sbcl-varjo (define-public sbcl-varjo
(let ((commit "9e77f30220053155d2ef8870ceba157f75e538d4") (let ((commit "9e77f30220053155d2ef8870ceba157f75e538d4")
(revision "1")) (revision "1"))