[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/38: gnu: Add ruby-ruby-prof.
From: |
guix-commits |
Subject: |
20/38: gnu: Add ruby-ruby-prof. |
Date: |
Wed, 8 Jul 2020 23:42:31 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 1b2141743550aee95acda7b270d7df3fd671350e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jul 1 00:17:32 2020 -0400
gnu: Add ruby-ruby-prof.
* gnu/packages/ruby.scm (ruby-ruby-prof): New variable.
---
gnu/packages/ruby.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e4cfff7..0816359 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6338,6 +6338,55 @@ variable length integers (varint) in Ruby Protocol
Buffers.")
(home-page "https://github.com/liquidm/varint")
(license license:bsd-3)))
+(define-public ruby-ruby-prof
+ (package
+ (name "ruby-ruby-prof")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "ruby-prof" version))
+ (sha256
+ (base32
+ "12cd91m08ih0imfpy4k87618hd4mhyz291a6bx2hcskza4nf6d27"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-rakefile
+ ;; This fixes the following error: "NameError: uninitialized
+ ;; constant Bundler::GemHelper" (see:
+ ;; https://github.com/ruby-prof/ruby-prof/issues/274).
+ (lambda _
+ (substitute* "Rakefile"
+ ((".*require \"bundler/setup\".*" all)
+ (string-append all " require 'bundler/gem_tasks'\n")))
+ #t))
+ (add-before 'check 'compile
+ (lambda _
+ (invoke "rake" "compile"))))))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-minitest" ,ruby-minitest)
+ ("ruby-rake-compiler" ,ruby-rake-compiler)
+ ("ruby-rdoc" ,ruby-rdoc)))
+ (synopsis "Fast code profiler for Ruby")
+ (description "RubyProf is a fast code profiler for Ruby. Its features
+include:
+@table @asis
+@item Speed
+Being a C extension, it is many times faster than the standard Ruby profiler.
+@item Measurement Modes
+It can measure program wall time, process time, object allocations and memory
+usage.
+@item Reports
+A variety of text and cross-referenced HTML reports can be generated.
+@item Threads
+Profiling multiple threads simultaneously is supported.
+@end table")
+ (home-page "https://github.com/ruby-prof/ruby-prof")
+ (license license:bsd-2)))
+
(define-public ruby-gherkin
(package
(name "ruby-gherkin")
- 04/38: gnu: Add ruby-ffi-rzmq., (continued)
- 04/38: gnu: Add ruby-ffi-rzmq., guix-commits, 2020/07/08
- 07/38: gnu: Add ruby-chandler., guix-commits, 2020/07/08
- 08/38: gnu: Add ruby-kpeg., guix-commits, 2020/07/08
- 09/38: gnu: ruby-rdoc: Update to 6.2.0., guix-commits, 2020/07/08
- 10/38: gnu: ruby-pry: Update to 0.13.1., guix-commits, 2020/07/08
- 13/38: gnu: ruby-rake: Update to 13.0.1., guix-commits, 2020/07/08
- 15/38: gnu: Add ruby-byebug-11., guix-commits, 2020/07/08
- 16/38: gnu: Add ruby-pry-byebug., guix-commits, 2020/07/08
- 17/38: gnu: Add ruby-binding-of-caller., guix-commits, 2020/07/08
- 19/38: gnu: Add ruby-varint., guix-commits, 2020/07/08
- 20/38: gnu: Add ruby-ruby-prof.,
guix-commits <=
- 26/38: gnu: Add ruby-unindent., guix-commits, 2020/07/08
- 25/38: gnu: Add ruby-coveralls., guix-commits, 2020/07/08
- 30/38: gnu: Add ruby-cucumber-create-meta., guix-commits, 2020/07/08
- 22/38: gnu: Add ruby-protobuf-cucumber., guix-commits, 2020/07/08
- 24/38: gnu: ruby-gherkin: Update to 14.0.1., guix-commits, 2020/07/08
- 18/38: gnu: Add ruby-pry-stack-explorer., guix-commits, 2020/07/08
- 27/38: gnu: ruby-cucumber-core: Update to 7.1.0., guix-commits, 2020/07/08
- 28/38: gnu: ruby-cucumber-tag-expressions: Update to 3.0.0., guix-commits, 2020/07/08
- 37/38: gnu: ruby-parallel-tests: Update to 3.0.0., guix-commits, 2020/07/08
- 21/38: gnu: Add ruby-protobuf., guix-commits, 2020/07/08