gnu: Add julia-datavalues.

* gnu/packages/julia-xyz.scm (julia-datavalues): New variable.
This commit is contained in:
Efraim Flashner 2021-05-31 10:58:00 +03:00
parent 3f40ba72c6
commit e886181bb6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -508,6 +508,39 @@ (define-public julia-datavalueinterfaces
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")