3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add julia-chainrules.

* gnu/packages/julia-xyz.scm (julia-chainrules): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
zimoun 2021-03-25 02:05:13 +01:00 committed by Ludovic Courtès
parent 33e5152aeb
commit 397f8c4874
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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")