[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/59: gnu: Add ruby-rbtree.
From: |
guix-commits |
Subject: |
11/59: gnu: Add ruby-rbtree. |
Date: |
Wed, 28 Jun 2023 05:55:12 -0400 (EDT) |
cbaines pushed a commit to branch ruby-team
in repository guix.
commit f2d900492eeeb8db685239a6d4cde278d79d3ff3
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")
- 03/59: gnu: ruby-dep: Build with ruby-2.7., (continued)
- 03/59: gnu: ruby-dep: Build with ruby-2.7., guix-commits, 2023/06/28
- 01/59: gnu: ruby: Switch from 2.7 to 3.1., guix-commits, 2023/06/28
- 05/59: gnu: ruby-rspec-core-2: Fix build., guix-commits, 2023/06/28
- 04/59: gnu: ruby-builder: Fix build., guix-commits, 2023/06/28
- 08/59: gnu: ruby-contracts: Update to 0.17., guix-commits, 2023/06/28
- 10/59: gnu: ruby-gettext: Update to 3.4.4., guix-commits, 2023/06/28
- 14/59: gnu: ruby-range-compressor: Add ruby-sorted-set as an input., guix-commits, 2023/06/28
- 07/59: gnu: ruby-ritex: Build with ruby-2.7., guix-commits, 2023/06/28
- 09/59: gnu: ruby-websocket: Update to 1.2.9-1.950e416., guix-commits, 2023/06/28
- 13/59: gnu: Add ruby-sorted-set., guix-commits, 2023/06/28
- 11/59: gnu: Add ruby-rbtree.,
guix-commits <=
- 12/59: gnu: Add ruby-set., guix-commits, 2023/06/28
- 17/59: gnu: Add ruby-psych., guix-commits, 2023/06/28
- 16/59: gnu: Remove ruby-instantiator., guix-commits, 2023/06/28
- 06/59: gnu: ruby-pry: Update to 0.14.2., guix-commits, 2023/06/28
- 15/59: gnu: ruby-introspection: Adjust inputs., guix-commits, 2023/06/28
- 19/59: gnu: ruby-test-construct: Update to 2.0.2., guix-commits, 2023/06/28
- 20/59: gnu: Add ruby-psych-3., guix-commits, 2023/06/28
- 21/59: gnu: ruby-stackprof: Update to 0.2.25., guix-commits, 2023/06/28
- 22/59: gnu: ruby-hoe: Update to 4.0.4., guix-commits, 2023/06/28
- 26/59: gnu: ruby-json-pure: Update to 2.6.3., guix-commits, 2023/06/28