diff options
| author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2023-07-23 18:38:05 +0200 |
|---|---|---|
| committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2024-02-24 16:42:41 +0100 |
| commit | 4980cd1697276bfdfe26d90132d9e6e865f7b8e3 (patch) | |
| tree | d2e0906839d7461f94e2a81f5ade6e8ca9433123 /gnu/packages/ruby.scm | |
| parent | ea78441f9152a731025b8c13c02cb7093ad618fe (diff) | |
gnu: Add ruby-pairing-heap.
* gnu/packages/ruby.scm (ruby-pairing-heap): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
| -rw-r--r-- | gnu/packages/ruby.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 38502c59762..cb26fc0ac51 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -12051,6 +12051,32 @@ dependency, @code{pg}.") | |||
| 12051 | (home-page "https://github.com/QueueClassic/queue_classic") | 12051 | (home-page "https://github.com/QueueClassic/queue_classic") |
| 12052 | (license license:expat))) | 12052 | (license license:expat))) |
| 12053 | 12053 | ||
| 12054 | (define-public ruby-pairing-heap | ||
| 12055 | (package | ||
| 12056 | (name "ruby-pairing-heap") | ||
| 12057 | (version "3.1.0") | ||
| 12058 | (source (origin | ||
| 12059 | (method url-fetch) | ||
| 12060 | (uri (rubygems-uri "pairing_heap" version)) | ||
| 12061 | (sha256 | ||
| 12062 | (base32 | ||
| 12063 | "059kqpw53cancnp0bp7y1s74y1955riw33w3lqfbnms4b4mdh5zj")))) | ||
| 12064 | (build-system ruby-build-system) | ||
| 12065 | (arguments | ||
| 12066 | (list | ||
| 12067 | #:phases | ||
| 12068 | #~(modify-phases %standard-phases | ||
| 12069 | (add-after 'unpack 'patch | ||
| 12070 | (lambda _ | ||
| 12071 | (substitute* "Rakefile" | ||
| 12072 | (("require \"standard/rake\"") "") | ||
| 12073 | ((":\"standard:fix\",") ""))))))) | ||
| 12074 | (synopsis "Priority queue in pure Ruby") | ||
| 12075 | (description "This package provides a performant priority queue in pure | ||
| 12076 | ruby with support for changing priority using pairing heap data structure") | ||
| 12077 | (home-page "https://github.com/mhib/pairing_heap") | ||
| 12078 | (license license:expat))) | ||
| 12079 | |||
| 12054 | (define-public ruby-ae | 12080 | (define-public ruby-ae |
| 12055 | (package | 12081 | (package |
| 12056 | (name "ruby-ae") | 12082 | (name "ruby-ae") |
