guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/11: gnu: Add ruby-stackprof.


From: guix-commits
Subject: 05/11: gnu: Add ruby-stackprof.
Date: Wed, 17 Feb 2021 09:17:26 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 4f8c551cf367c9b1f83e8b438df4764abaab2d41
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 17 12:07:06 2021 +0200

    gnu: Add ruby-stackprof.
    
    * gnu/packages/ruby.scm (ruby-stackprof): New variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 28ba7b4..8dab0b6 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7556,6 +7556,28 @@ navigation capabilities to @code{pry}, using 
@code{byebug}.")
     (home-page "https://github.com/deivid-rodriguez/pry-byebug";)
     (license license:expat)))
 
+(define-public ruby-stackprof
+  (package
+    (name "ruby-stackprof")
+    (version "0.2.16")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "stackprof" version))
+        (sha256
+         (base32
+          "147rb66p3n062vc433afqhkd99iazvkrqnghxgh871r62yhha93f"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-mocha" ,ruby-mocha)
+       ("ruby-rake-compiler" ,ruby-rake-compiler)))
+    (synopsis "Sampling profiler for Ruby code")
+    (description
+     "@code{stackprof} is a fast sampling profiler for Ruby code, with cpu,
+wallclock and object allocation samplers.")
+    (home-page "http://github.com/tmm1/stackprof";)
+    (license license:expat)))
+
 (define-public ruby-binding-of-caller
   (package
     (name "ruby-binding-of-caller")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]