mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: Add ruby-pairing-heap.
* gnu/packages/ruby.scm (ruby-pairing-heap): New variable.
This commit is contained in:
parent
ea78441f91
commit
4980cd1697
1 changed files with 26 additions and 0 deletions
|
@ -12051,6 +12051,32 @@ (define-public ruby-queue-classic
|
|||
(home-page "https://github.com/QueueClassic/queue_classic")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-pairing-heap
|
||||
(package
|
||||
(name "ruby-pairing-heap")
|
||||
(version "3.1.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "pairing_heap" version))
|
||||
(sha256
|
||||
(base32
|
||||
"059kqpw53cancnp0bp7y1s74y1955riw33w3lqfbnms4b4mdh5zj"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch
|
||||
(lambda _
|
||||
(substitute* "Rakefile"
|
||||
(("require \"standard/rake\"") "")
|
||||
((":\"standard:fix\",") "")))))))
|
||||
(synopsis "Priority queue in pure Ruby")
|
||||
(description "This package provides a performant priority queue in pure
|
||||
ruby with support for changing priority using pairing heap data structure")
|
||||
(home-page "https://github.com/mhib/pairing_heap")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-ae
|
||||
(package
|
||||
(name "ruby-ae")
|
||||
|
|
Loading…
Reference in a new issue