[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62195] [PATCH 03/17] gnu: Add cl-3d-quaternions.
From: |
Sharlatan Hellseher |
Subject: |
[bug#62195] [PATCH 03/17] gnu: Add cl-3d-quaternions. |
Date: |
Tue, 14 Mar 2023 23:50:50 +0000 |
* gnu/packages/lisp-xyz.scm (cl-3d-quaternions, sbcl-3d-quaternions):
New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index fe04ef4cec..d182f330f5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18858,6 +18858,46 @@ (define-public ecl-3d-matrices
(define-public cl-3d-matrices
(sbcl-package->cl-source-package sbcl-3d-matrices))
+(define-public sbcl-3d-quaternions
+ (let ((commit "b79c15cca8d9c409216a6cee8ec9e182dcdec9e2")
+ (revision "0"))
+ (package
+ (name "sbcl-3d-quaternions")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Shinmera/3d-quaternions")
+ (commit commit)))
+ (file-name (git-file-name "3d-quaternions" version))
+ (sha256
+ (base32 "1mrq6yhb90mhvxdkg3fx58ci5yj5xlixbbzf1q6p76wyq40qjv76"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list sbcl-parachute))
+ (inputs
+ (list sbcl-3d-matrices sbcl-3d-vectors sbcl-documentation-utils))
+ (home-page "https://shinmera.github.io/3d-quaternions/")
+ (synopsis "Quaternion and dual-quaternion functionality in Common Lisp")
+ (description
+ "This is a library for quaternions. It contains most of the quaternion
+operations one would usually expect out of such a library and offers them both
+in non-modifying and modifying versions where applicable. It also tries to be
+efficient where plausible. Each quaternion is made up of @code{float}s, which
by
+default are @code{single-float}s, as they do not require value boxing on most
+modern systems and compilers.")
+ (license license:zlib))))
+
+;; TODO: Build failure:
+;; https://github.com/Shinmera/3d-quaternions/issues/2
+;;
+;; (define-public ecl-3d-quaternions
+;; (sbcl-package->ecl-package sbcl-3d-quaternions))
+
+(define-public cl-3d-quaternions
+ (sbcl-package->cl-source-package sbcl-3d-quaternions))
+
(define-public sbcl-messagebox
(let ((commit "ea3688d9a9954bee7079c0173bc7b3f327021e9f")
(revision "1"))
--
2.39.2
- [bug#62195] [PATCH 00/17]: gnu: cl-trial: Update to 1.2.0-2.db4e98e., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 01/17] gnu: cl-3d-vectors: Update to 3.1.0-2.2579694., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 02/17] gnu: cl-3d-matrices: Update to 1.0.0-2.b4f5a58., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 03/17] gnu: Add cl-3d-quaternions.,
Sharlatan Hellseher <=
- [bug#62195] [PATCH 04/17] gnu: Add cl-3d-transforms., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 05/17] gnu: Add cl-trivial-extensible-sequences., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 07/17] gnu: cl-parachute: Update to 1.5.0-1.bd072b0., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 06/17] gnu: Add cl-promise., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 11/17] gnu: cl-3b-bmfont: Update to 0.0.1-3.332c226., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 15/17] gnu: Add cl-dns-client., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 08/17] gnu: cl-pathname-utils: Update to 1.1.0-2.13189c0., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 10/17] gnu: cl-gamepad: Update to 3.0.0-2.647f6ee., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 13/17] gnu: cl-jzon: Fix build by disabling tests on ECL., Sharlatan Hellseher, 2023/03/14
- [bug#62195] [PATCH 17/17] gnu: cl-zr-utils: Fix build by disabling tests., Sharlatan Hellseher, 2023/03/14