From c0f5dd63d0510a2c4080dfbad1beb801d649db95 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 20 May 2021 16:34:16 +0300 Subject: gnu: Add julia-sortingalgorithms. * gnu/packages/julia-xyz.scm (julia-sortingalgorithms): New variable. --- gnu/packages/julia-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 4c87adbda8..93381d8ff9 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1423,6 +1423,35 @@ (define-public julia-richardson other power series in @code{h}.") (license license:expat))) +(define-public julia-sortingalgorithms + (package + (name "julia-sortingalgorithms") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaCollections/SortingAlgorithms.jl") + ;; Tagging releases is hard: + ;; https://github.com/JuliaCollections/SortingAlgorithms.jl/issues/41#issuecomment-840587380 + (commit "aa2b98d384ddd132aae0219e68fb63b92513cb35"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "13zbx18psxrg4fvkqgp0m7g484vrama2xm6902bbls30801hgljg")))) + (build-system julia-build-system) + (arguments + `(#:tests? #f)) ; cycle with StatsBase.jl + (propagated-inputs + `(("julia-datastructures" ,julia-datastructures))) + ;(native-inputs + ; `(("julia-statsbase" ,julia-statsbase))) + (home-page "https://github.com/JuliaCollections/SortingAlgorithms.jl") + (synopsis "Extra sorting algorithms extending Julia's sorting API") + (description "The SortingAlgorithms package provides three sorting +algorithms that can be used with Julia's standard sorting API: heapsort, +timsort and radixsort.") + (license license:expat))) + (define-public julia-specialfunctions (package (name "julia-specialfunctions") -- cgit v1.2.3