From 72c7d771211bb55260676ab5958c3cf7222a082d Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 00:30:21 +0200 Subject: [PATCH] gnu: Add julia-statsbase. * gnu/packages/julia-xyz.scm (julia-statsbase-0.32.0): New variable. --- gnu/packages/julia-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 2e4c6914d8..8b581f50fb 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -665,3 +665,30 @@ algorithms that can be used with Julia's standard sorting API: @item RadixSort @end enumerate") (license license:expat))) + +(define-public julia-statsbase + (package + (name "julia-statsbase") + (version "0.32.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaStats/StatsBase.jl") + (commit "b9454f979ff8bdbc3ecffe2490cc1331a824e798"))) + (file-name "StatsBase") + (sha256 + (base32 "1k6zcblpdrdq568lsgna83ld2kj47h2cxn5idp8g41fdm9scph5b")))) + (propagated-inputs `(("julia-datastructures" ,julia-datastructures) + ("julia-sortingalgorithms" ,julia-sortingalgorithms) + ("julia-missings" ,julia-missings) + ("julia-dataapi" ,julia-dataapi))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaStats/StatsBase.jl") + (synopsis "Basic statistics for Julia") + (description "@code{StatsBase.jl} is a Julia package that provides basic +support for statistics. Particularly, it implements a variety of +statistics-related functions, such as scalar statistics, high-order moment +computation, counting, ranking, covariances, sampling, and empirical density +estimation.") + (license license:expat)))