guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/26: gnu: Add julia-datavalues.


From: guix-commits
Subject: 05/26: gnu: Add julia-datavalues.
Date: Mon, 31 May 2021 05:56:20 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit e886181bb6c1b94c5fe5f79cb011de76a5c76951
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 31 10:58:00 2021 +0300

    gnu: Add julia-datavalues.
    
    * gnu/packages/julia-xyz.scm (julia-datavalues): New variable.
---
 gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index f13f2aa..d8cf906 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -508,6 +508,39 @@ including, @code{CircularBuffer}, @code{Queue}, 
@code{Stack},
 without having to take direct dependencies.")
     (license license:expat)))
 
+(define-public julia-datavalues
+  (package
+    (name "julia-datavalues")
+    (version "0.4.13")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/queryverse/DataValues.jl";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "15j3hrqq6nazn533bfsvg32xznacbzsl303j1qs48av59ppnvhhv"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-known-failing-tests
+           (lambda _
+             ;; See upstream report:
+             ;; https://github.com/queryverse/DataValues.jl/issues/83
+             (substitute* "test/array/test_reduce.jl"
+               ((".*DataValue\\(mapreduce.*") "")
+               ((".*DataValue\\(method\\(f.*") ""))
+             #t)))))
+    (propagated-inputs
+     `(("julia-datavalueinterfaces" ,julia-datavalueinterfaces)))
+    (home-page "https://github.com/queryverse/DataValues.jl";)
+    (synopsis "Missing values for Julia")
+    (description "This package provides the type @code{DataValue} that is used
+to represent missing data.")
+    (license license:expat)))
+
 (define-public julia-dictionaries
   (package
     (name "julia-dictionaries")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]