gnu: Add julia-datastructures.

* gnu/packages/julia-xyz.scm (julia-datastructures-0.17.2): New variable.
This commit is contained in:
nixo 2019-10-11 00:03:46 +02:00
parent 444a58b3d0
commit 99886571e2
1 changed files with 43 additions and 0 deletions

View File

@ -584,3 +584,46 @@ are similar to containers in base Julia. However, during iteration the
Ordered* containers return items in the order in which they were added to the Ordered* containers return items in the order in which they were added to the
collection.") collection.")
(license license:expat))) (license license:expat)))
(define-public julia-datastructures
(package
(name "julia-datastructures")
(version "0.17.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaCollections/DataStructures.jl")
(commit (string-append "v" version))))
(file-name "DataStructures")
(sha256
(base32 "0l742ac5n2g2nnrbxvkqz1wkj739rmflzd8zyz934dc6a5pwnzrw"))))
(propagated-inputs
`(("julia-orderedcollections" ,julia-orderedcollections)))
(build-system julia-build-system)
(home-page "https://github.com/JuliaCollections/DataStructures.jl")
(synopsis "Julia implementation of Data structures")
(description "This package implements a variety of data structures,
including:
@enumerate
@item Deque (implemented with an unrolled linked list)
@item CircularBuffer
@item CircularDeque
@item Stack
@item Queue
@item Accumulators and Counters (i.e. Multisets / Bags)
@item Disjoint Sets
@item Binary Heap
@item Mutable Binary Heap
@item Ordered Dicts and Sets
@item Dictionaries with Defaults
@item Trie
@item Linked List and Mutable Linked List
@item Sorted Dict, Sorted Multi-Dict and Sorted Set
@item DataStructures.IntSet
@item Priority Queue
@item Fenwick Tree
@item SparseIntSet
@end enumerate")
(license license:expat)))