From 2e932dc352aa090120f70c54480d68ffa70ea784 Mon Sep 17 00:00:00 2001 From: Tomás Ortín Fernández Date: Mon, 28 Dec 2020 01:36:46 +0100 Subject: gnu: Add ruby-benchmark. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/ruby.scm (ruby-benchmark): New variable. Signed-off-by: Björn Höfling --- gnu/packages/ruby.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c3a15abe4d..f2171c3c08 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12262,3 +12262,21 @@ (define-public ruby-e2mmap 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))) -- cgit v1.2.3