aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/julia-xyz.scm
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2021-03-25 02:05:03 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-29 16:47:20 +0200
commitf6c5a8982b40539a2908e9a7d7801147adbd30d9 (patch)
tree7d700545ab78b0dffd13e2dc713c6626eb5a6de2 /gnu/packages/julia-xyz.scm
parentdd7a77c34566c450945facbca0c0fb634e4246a5 (diff)
downloadguix-f6c5a8982b40539a2908e9a7d7801147adbd30d9.tar
guix-f6c5a8982b40539a2908e9a7d7801147adbd30d9.tar.gz
gnu: Add julia-finitedifferences.
* gnu/packages/julia-xyz.scm (julia-finitedifferences): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/julia-xyz.scm')
-rw-r--r--gnu/packages/julia-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index b56fa5427e..ed05af6497 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -285,6 +285,32 @@ including, @code{CircularBuffer}, @code{Queue}, @code{Stack},
(description "This package provides various examples.")
(license license:expat))))
+(define-public julia-finitedifferences
+ (package
+ (name "julia-finitedifferences")
+ (version "0.12.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaDiff/FiniteDifferences.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dcx34026xdpfmbjls3mrknl8ww62kxxfr77kfihbazsfg2gp5b4"))))
+ (build-system julia-build-system)
+ (inputs
+ `(("julia-benchmarktools" ,julia-benchmarktools)))
+ (propagated-inputs
+ `(("julia-chainrulescore" ,julia-chainrulescore)
+ ("julia-richardson" ,julia-richardson)
+ ("julia-staticarrays" ,julia-staticarrays)))
+ (home-page "https://github.com/JuliaDiff/FiniteDifferences.jl")
+ (synopsis "Estimates derivatives with finite differences")
+ (description "This package calculates approximate derivatives numerically
+using finite difference.")
+ (license license:expat)))
+
(define-public julia-fixedpointnumbers
(package
(name "julia-fixedpointnumbers")