summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-14 13:38:32 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-14 14:45:23 +0300
commit56753c0f2e111bd83f7f71b642bf4a31c9c2e7b4 (patch)
tree9d0ca79557d9238c8f46f5bbd8ed7636b1940f51 /gnu
parent0ffa25213efefc033d26dfe6e0ec747e17c6938f (diff)
downloadguix-56753c0f2e111bd83f7f71b642bf4a31c9c2e7b4.tar.gz
gnu: Add julia-referencetests.
* gnu/packages/julia-xyz.scm (julia-referencetests): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/julia-xyz.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index c7c402d378..16fe3a0f44 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -3139,6 +3139,44 @@ recursive arrays like arrays of arrays.")
     (description "This package provides tools to re-export modules and symbols.")
     (license license:expat)))
 
+(define-public julia-referencetests
+  (package
+    (name "julia-referencetests")
+    (version "0.9.7")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaTesting/ReferenceTests.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0mm6bjhs8a21pippww6b08b5frmnb9m6k8xrszrwq9zhc879zpc9"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:tests? #f))    ; Cycle with ImageCore.jl through ImageMagick.jl.
+    (propagated-inputs
+     `(("julia-deepdiffs" ,julia-deepdiffs)
+       ("julia-distances" ,julia-distances)
+       ("julia-fileio" ,julia-fileio)
+       ("julia-imagecore" ,julia-imagecore)
+       ("julia-imageinterminal" ,julia-imageinterminal)))
+    ;(native-inputs
+    ; `(("julia-csvfiles" ,julia-csvfiles)
+    ;   ("julia-dataframes" ,julia-dataframes)
+    ;   ("julia-gr" ,julia-gr)
+    ;   ("julia-imagemagick" ,julia-imagemagick)
+    ;   ("julia-imagetransformations" ,julia-imagetransformations)
+    ;   ("julia-plots" ,julia-plots)
+    ;   ("julia-testimages" ,julia-testimages)))
+    (home-page "https://juliatesting.github.io/ReferenceTests.jl/latest/")
+    (synopsis "Utility package for comparing data against reference files")
+    (description "@code{ReferenceTests.jl} is a Julia package that adds a couple
+of additional macros to your testing toolbox.  In particular, it focuses on
+functionality for testing values against reference files, which in turn the
+package can help create and update if need be.")
+    (license license:expat)))
+
 (define-public julia-requires
   (package
     (name "julia-requires")