aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-05-31 10:58:00 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-05-31 12:54:46 +0300
commite886181bb6c1b94c5fe5f79cb011de76a5c76951 (patch)
tree61fa5325d81c7fae7d4536e0619aa4b7accda1b7
parent3f40ba72c6437b56f7bdced8d7c419dc14b990cf (diff)
downloadguix-e886181bb6c1b94c5fe5f79cb011de76a5c76951.tar.gz
guix-e886181bb6c1b94c5fe5f79cb011de76a5c76951.zip
gnu: Add julia-datavalues.
* gnu/packages/julia-xyz.scm (julia-datavalues): New variable.
-rw-r--r--gnu/packages/julia-xyz.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index f13f2aa399..d8cf906d7e 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")