gnu: Add ruby-benchmark.

* gnu/packages/ruby.scm (ruby-benchmark): New variable.

Signed-off-by: Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
This commit is contained in:
Tomás Ortín Fernández 2020-12-28 01:36:46 +01:00 committed by Björn Höfling
parent 42daea6503
commit 2e932dc352
No known key found for this signature in database
GPG key ID: BF286CB6593E5FFD

View file

@ -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)))