gnu: Add julia-sortingalgorithms.

* gnu/packages/julia-xyz.scm (julia-sortingalgorithms-0.3.1): New variable.
This commit is contained in:
nixo 2019-10-11 00:06:41 +02:00
parent 99886571e2
commit 31ecb277bc
1 changed files with 38 additions and 0 deletions

View File

@ -627,3 +627,41 @@ including:
@item SparseIntSet
@end enumerate")
(license license:expat)))
(define-public julia-sortingalgorithms
(package
(name "julia-sortingalgorithms")
(version "0.3.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaCollections/SortingAlgorithms.jl")
(commit (string-append "v" version))))
(file-name "SortingAlgorithms")
(sha256
(base32 "1nz96sccgl6h6aknck59gmy1yrzx356kk9z68svj2g6yialprv1j"))))
(propagated-inputs `(("julia-datastructures" ,julia-datastructures)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'precompile 'fix-toml
(lambda* (#:key outputs source #:allow-other-keys)
(julia-create-package-toml
outputs source
"SortingAlgorithms"
"a2af1166-a08f-5f64-846c-94a0d3cef48c"
"0.3.1"
'(("DataStructures" . "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8")))
#t)))))
(build-system julia-build-system)
(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:
@enumerate
@item HeapSort
@item TimSort
@item RadixSort
@end enumerate")
(license license:expat)))