gnu: Add julia-rotations.

* gnu/packages/julia-xyz.scm (julia-rotations): New variable.
This commit is contained in:
Efraim Flashner 2021-06-08 17:46:01 +03:00
parent 50255943b1
commit 1fde30c290
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -2343,6 +2343,35 @@ high-order accuracy, assuming that @code{f(x0+h)} has a Taylor series or some
other power series in @code{h}.")
(license license:expat)))
(define-public julia-rotations
(package
(name "julia-rotations")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaGeometry/Rotations.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1l1a3bnrpv9qdksnk3c8j82ik3yrnpsmnyxyiy3gc1yjya5pajqj"))))
(build-system julia-build-system)
(propagated-inputs
`(("julia-staticarrays" ,julia-staticarrays)))
(native-inputs
`(("julia-benchmarktools" ,julia-benchmarktools)
("julia-forwarddiff" ,julia-forwarddiff)
("julia-unitful" ,julia-unitful)))
(home-page "https://github.com/JuliaGeometry/Rotations.jl")
(synopsis "Julia implementations for different rotation parameterisations")
(description "This package implements various 3D rotation parameterizations
and defines conversions between them. At their heart, each rotation
parameterization is a 3×3 unitary (orthogonal) matrix (based on the
@code{StaticArrays.jl} package), and acts to rotate a 3-vector about the origin
through matrix-vector multiplication.")
(license license:expat)))
(define-public julia-safetestsets
;; The only release tag is the first commit in the repository.
(let ((commit "e553edc4c753344d38349304b9ff5483c3b8ff21")