gnu: Add julia-reversediff.

* gnu/packages/julia-xyz.scm (julia-reversediff): New variable.
This commit is contained in:
Efraim Flashner 2021-06-14 12:21:35 +03:00
parent f9f98a2f06
commit e9a0f6a4a5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2649,6 +2649,40 @@ (define-public julia-requires
can be avoided.")
(license license:expat)))
(define-public julia-reversediff
(package
(name "julia-reversediff")
(version "1.9.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaDiff/ReverseDiff.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1wrr6sqj2xl9grkvdp88rw3manxy9vbx28zq2wssya5ns1xabsnl"))))
(build-system julia-build-system)
(propagated-inputs
`(("julia-diffresults" ,julia-diffresults)
("julia-diffrules" ,julia-diffrules)
("julia-forwarddiff" ,julia-forwarddiff)
("julia-functionwrappers" ,julia-functionwrappers)
("julia-macrotools" ,julia-macrotools)
("julia-nanmath" ,julia-nanmath)
("julia-specialfunctions" ,julia-specialfunctions)
("julia-staticarrays" ,julia-staticarrays)))
(native-inputs
`(("julia-difftests" ,julia-difftests)
("julia-fillarrays" ,julia-fillarrays)))
(home-page "https://github.com/JuliaDiff/ReverseDiff.jl")
(synopsis "Reverse Mode Automatic Differentiation for Julia")
(description "@code{ReverseDiff.jl} is a fast and compile-able tape-based
reverse mode @acronym{AD, automatic differentiation}, that implements methods to
take gradients, Jacobians, Hessians, and higher-order derivatives of native
Julia functions (or any callable object, really).")
(license license:expat)))
(define-public julia-richardson
(package
(name "julia-richardson")