[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: Add ruby-benchmark.
From: |
guix-commits |
Subject: |
02/03: gnu: Add ruby-benchmark. |
Date: |
Thu, 25 Feb 2021 17:44:58 -0500 (EST) |
hoebjo pushed a commit to branch master
in repository guix.
commit 2e932dc352aa090120f70c54480d68ffa70ea784
Author: Tomás Ortín Fernández <tomasortin@mailbox.org>
AuthorDate: Mon Dec 28 01:36:46 2020 +0100
gnu: Add ruby-benchmark.
* gnu/packages/ruby.scm (ruby-benchmark): New variable.
Signed-off-by: Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
---
gnu/packages/ruby.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c3a15ab..f2171c3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12262,3 +12262,21 @@ options.")
exceptions with predefined messages.")
(home-page "https://github.com/ruby/e2mmap")
(license license:bsd-2)))
+
+(define-public ruby-benchmark
+ (package
+ (name "ruby-benchmark")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "benchmark" version))
+ (sha256
+ (base32
+ "1jvrl7400fv7v2jjri1r7ilj3sri36hzipwwgpn5psib4c9c59c6"))))
+ (build-system ruby-build-system)
+ (synopsis "Performance benchmarking library")
+ (description "This package provides methods for benchmarking Ruby code,
+giving detailed reports on the time taken for each task.")
+ (home-page "https://github.com/ruby/benchmark")
+ (license license:bsd-2)))