diff options
author | zimoun <zimon.toutoune@gmail.com> | 2021-03-25 02:05:13 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-03-29 16:47:22 +0200 |
commit | 397f8c48747a3fbb76c3fe5a3a67b9eae21f9cbb (patch) | |
tree | 6af97bb8433081cdcaa77db8d5c0e508a5efc551 /gnu | |
parent | 33e5152aeb1ae6d7dc4da792173492e92875a8d7 (diff) | |
download | guix-397f8c48747a3fbb76c3fe5a3a67b9eae21f9cbb.tar.gz |
gnu: Add julia-chainrules.
* gnu/packages/julia-xyz.scm (julia-chainrules): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/julia-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index fe1ecf0c9d..b526306984 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -147,6 +147,37 @@ can also be used to compute definite integrals by different numerical methods.") (license license:expat))) +(define-public julia-chainrules + (package + (name "julia-chainrules") + (version "0.7.54") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDiff/ChainRules.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1x4w71v8cw0vpba47h8f5xq4gyjfxbcvayzf7m41yg8gf49s9pkf")))) + (build-system julia-build-system) + (inputs ;required for test + `(("julia-chainrulestestutils" ,julia-chainrulestestutils) + ("julia-finitedifferences" ,julia-finitedifferences) + ("julia-nanmath" ,julia-nanmath) + ("julia-specialfunctions" ,julia-specialfunctions))) + (propagated-inputs + `(("julia-chainrulescore" ,julia-chainrulescore) + ("julia-compat" ,julia-compat) + ("julia-reexport" ,julia-reexport) + ("julia-requires" ,julia-requires))) + (home-page "https://github.com/JuliaDiff/ChainRules.jl") + (synopsis "Common utilities for automatic differentiation") + (description "The is package provides a variety of common utilities that +can be used by downstream automatic differentiation (AD) tools to define and +execute forward-, reverse-, and mixed-mode primitives.") + (license license:expat))) + (define-public julia-chainrulescore (package (name "julia-chainrulescore") |