From f499e12486cf69643ec8baa23530d9caad13502b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 17 Feb 2021 12:07:32 +0200 Subject: gnu: Add ruby-memory-profiler. * gnu/packages/ruby.scm (ruby-memory-profiler): New variable. --- gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 8dab0b6e1d..3294b4e134 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7700,6 +7700,29 @@ Profiling multiple threads simultaneously is supported. (home-page "https://github.com/ruby-prof/ruby-prof") (license license:bsd-2))) +(define-public ruby-memory-profiler + (package + (name "ruby-memory-profiler") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/SamSaffron/memory_profiler") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07yqv11q68xg2fqkrhs6ysngryk8b9zq6qzh24rgx9xqv6qfnj0w")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-rake" ,ruby-rake))) + (synopsis "Memory profiling routines for Ruby") + (description + "This package provides memory profiling routines for Ruby.") + (home-page "https://github.com/SamSaffron/memory_profiler") + (license license:expat))) + (define-public ruby-cucumber-messages (package (name "ruby-cucumber-messages") -- cgit v1.2.3