summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-08 16:39:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-08 17:57:25 +0300
commit916c2669216cf959322843990a9bf773b18025d1 (patch)
tree3a3730b7239b8674ad80771b672bcac92edbbd2a
parent5be9b3fd6b23b1e0cb62d8f93e01c97265cfe0da (diff)
downloadguix-916c2669216cf959322843990a9bf773b18025d1.tar.gz
gnu: Add julia-tracker.
* gnu/packages/julia-xyz.scm (julia-tracker): New variable.
-rw-r--r--gnu/packages/julia-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 5804619c25..3f9df367b7 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2546,6 +2546,37 @@ product preserves all dimensions}, and @acronym{boxdot, contracts neighboring
 dimensions}.")
     (license license:expat)))
 
+(define-public julia-tracker
+  (package
+    (name "julia-tracker")
+    (version "0.2.12")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/FluxML/Tracker.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1s4mdywbp7nli7z985fqaj1rs4i6d92b1jx3lhg0qhk1s5wc0v8j"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-adapt" ,julia-adapt)
+       ("julia-diffrules" ,julia-diffrules)
+       ("julia-forwarddiff" ,julia-forwarddiff)
+       ("julia-macrotools" ,julia-macrotools)
+       ("julia-nanmath" ,julia-nanmath)
+       ("julia-nnlib" ,julia-nnlib)
+       ("julia-requires" ,julia-requires)
+       ("julia-specialfunctions" ,julia-specialfunctions)))
+    (native-inputs
+     `(("julia-pdmats" ,julia-pdmats)))
+    (home-page "https://github.com/FluxML/Tracker.jl")
+    (synopsis "Operator overloading reverse-mode automatic differentiator")
+    (description "@code{Tracker.jl} previously provided @code{Flux.jl} with
+automatic differentiation for its machine learning platform.")
+    (license license:expat)))
+
 (define-public julia-typedtables
   (package
     (name "julia-typedtables")