[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/100: gnu: Add ruby-rbtree.
From: |
guix-commits |
Subject: |
11/100: gnu: Add ruby-rbtree. |
Date: |
Mon, 10 Jul 2023 03:27:24 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 6ee5f968bc1dce680636ccaa5554baca4d9a4ce7
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jun 22 10:38:17 2023 +0100
gnu: Add ruby-rbtree.
* gnu/packages/ruby.scm (ruby-rbtree): New variable.
---
gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7beadb2eaf..b4b31d52f7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3237,6 +3237,38 @@ high-level toolkit for building cryptographic systems
and protocols.")
(home-page "https://github.com/crypto-rb/rbnacl")
(license license:expat)))
+(define-public ruby-rbtree
+ (package
+ (name "ruby-rbtree")
+ (version "0.4.6")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rbtree" version))
+ (sha256
+ (base32
+ "1z0h1x7fpkzxamnvbw1nry64qd6n0nqkwprfair29z94kd3a9vhl"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'extconf
+ (lambda _
+ (invoke "ruby" "extconf.rb")
+ (invoke "make" "install" (string-append "prefix=" #$output))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ruby" "-I." "test.rb")))))))
+ (synopsis "Ruby implementation of a sorted associative collection")
+ (description
+ "This package provides a RBTree is a sorted associative collection that
+is implemented with a Red-Black Tree. It maps keys to values like a Hash, but
+maintains its elements in ascending key order. The interface is the almost
+identical to that of Hash.")
+ (home-page "http://rbtree.rubyforge.org/")
+ (license license:expat)))
+
(define-public ruby-hkdf
(package
(name "ruby-hkdf")
- branch master updated (e40d6bb7d7 -> 2ccf3eb495), guix-commits, 2023/07/10
- 09/100: gnu: ruby-websocket: Update to 1.2.9-1.950e416., guix-commits, 2023/07/10
- 01/100: gnu: ruby: Switch from 2.7 to 3.1., guix-commits, 2023/07/10
- 04/100: gnu: ruby-builder: Fix build., guix-commits, 2023/07/10
- 10/100: gnu: ruby-gettext: Update to 3.4.4., guix-commits, 2023/07/10
- 06/100: gnu: ruby-pry: Update to 0.14.2., guix-commits, 2023/07/10
- 05/100: gnu: ruby-rspec-core-2: Fix build., guix-commits, 2023/07/10
- 11/100: gnu: Add ruby-rbtree.,
guix-commits <=
- 13/100: gnu: Add ruby-sorted-set., guix-commits, 2023/07/10
- 20/100: gnu: Add ruby-psych-3., guix-commits, 2023/07/10
- 23/100: gnu: ruby-sqlite3: Update to 1.6.3., guix-commits, 2023/07/10
- 31/100: gnu: ruby-minitest-bonus-assertions: Fix build., guix-commits, 2023/07/10
- 40/100: gnu: ruby-delayed-job: Fix build., guix-commits, 2023/07/10
- 38/100: gnu: ruby-protobuf: Fix build., guix-commits, 2023/07/10
- 48/100: gnu: ruby-rdoc: Update to 6.5.0., guix-commits, 2023/07/10
- 07/100: gnu: ruby-ritex: Build with ruby-2.7., guix-commits, 2023/07/10
- 02/100: gnu: ruby-bindex: Update to 0.8.1 and rename to ruby-skiptrace., guix-commits, 2023/07/10
- 18/100: gnu: ruby-mocha: Update to 2.0.4., guix-commits, 2023/07/10