From a4ec151075122dfab3a7716de69665a163dd8cde Mon Sep 17 00:00:00 2001 From: nixo Date: Thu, 10 Oct 2019 23:49:33 +0200 Subject: [PATCH] gnu: Add julia-dataapi. * gnu/packages/julia-xyz.scm (julia-dataapi-1.1.0): New variable. --- gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index adf82f5602..a31f1c6ef2 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -445,3 +445,28 @@ adds @code{isiterable} and @code{getiterator} to the iterator interface.") (description "@code{TableTraits} defines a generic interface for tabular data.") (license license:expat))) + +(define-public julia-dataapi + (package + (name "julia-dataapi") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaData/DataAPI.jl") + (commit (string-append "v" version)))) + (file-name "DataAPI") + (sha256 + (base32 "0zl9vwkwcd2zar7vn9mhdwysyzkkfmq4ls5cmfs2nqzlfv4bzwbx")))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaData/DataAPI.jl") + (synopsis "Data-focused namespace for packages to share functions") + (description "This Julia package provides a namespace for data-related +generic function definitions to solve the optional dependency problem; +packages wishing to share and/or extend functions can avoid depending directly +on each other by moving the function definition to @code{DataAPI.jl} and each +package taking a dependency on it. As such, it is paramount for +@code{DataAPI.jl} to be as minimal as possible, defining only generic function +stubs and very little else.") + (license license:expat)))