summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-08 15:57:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-08 17:57:24 +0300
commit122897542adb927752a6e017cbd3759f7f1d0c41 (patch)
tree06dcb2aff8adfcf2bc6f661332fade333417d330
parentae131820618e4f15aac46c02c7b496d842c59865 (diff)
gnu: Add julia-quaternions.
* gnu/packages/julia-xyz.scm (julia-quaternions): New variable.
-rw-r--r--gnu/packages/julia-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 827b22b57c..98dd379a1c 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1887,6 +1887,29 @@ human-readable format.")
format.")
(license license:expat)))
+(define-public julia-quaternions
+ (package
+ (name "julia-quaternions")
+ (version "0.4.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaGeometry/Quaternions.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zhynyvchc50hywws2jznpkwydr3njh8cv84d2ylyabhcwwmil9s"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ `(("julia-dualnumbers" ,julia-dualnumbers)))
+ (home-page "https://github.com/JuliaGeometry/Quaternions.jl")
+ (synopsis "Quaternion and dual-quaternion functionality")
+ (description "Quaternions are best known for their suitability as
+representations of 3D rotational orientation. They can also be viewed as an
+extension of complex numbers.")
+ (license license:expat)))
+
(define-public julia-queryoperators
(package
(name "julia-queryoperators")