[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 161/223] gnu: Add ruby-bootsnap.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 161/223] gnu: Add ruby-bootsnap. |
Date: |
Mon, 20 Mar 2023 13:22:47 -0400 |
* gnu/packages/rails.scm (ruby-bootsnap): New variable.
---
gnu/packages/rails.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 9b789e13bd..33c0af70b2 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -733,6 +733,45 @@ (define-public ruby-actionmailer
(home-page "https://rubyonrails.org/")
(license license:expat)))
+(define-public ruby-bootsnap
+ (package
+ (name "ruby-bootsnap")
+ (version "1.16.0")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/Shopify/bootsnap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gaih5v4jjndrkn0crrr5mxnwc3cd0f3i955n62ghk29zabvd7wf"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:test-target "default"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-requirements
+ (lambda _
+ (substitute* "Gemfile"
+ ;; Rubocop and byebug are not actually needed to run the
+ ;; tests.
+ ((".*rubocop.*") "")
+ ((".*byebug.*") ""))))
+ (replace 'replace-git-ls-files
+ (lambda _
+ (substitute* "bootsnap.gemspec"
+ (("`git ls-files -z ext lib`")
+ "`find ext lib -type f -print0 | sort -z`")))))))
+ (native-inputs (list ruby-mocha ruby-rake-compiler))
+ (propagated-inputs (list ruby-msgpack))
+ (synopsis "Accelerator for large Ruby/Rails application")
+ (description "Bootsnap is a library that plugs into Ruby, with optional
+support for YAML, to optimize and cache expensive computations.")
+ (home-page "https://github.com/Shopify/bootsnap")
+ (license license:expat)))
+
(define-public ruby-marcel
(package
(name "ruby-marcel")
--
2.39.1
- [bug#62196] [PATCH 182/223] gnu: ruby-temple: Update to 0.10.0., (continued)
- [bug#62196] [PATCH 182/223] gnu: ruby-temple: Update to 0.10.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 191/223] gnu: ruby-shoulda-matchers: Update to 5.3.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 167/223] gnu: Add ruby-stimulus-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 143/223] gnu: ruby-actioncable: Update to 7.0.4.3 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 148/223] gnu: ruby-activestorage: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 119/223] gnu: Add ruby-covered., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 160/223] gnu: ruby-sprockets-rails: Update to 3.4.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 181/223] gnu: ruby-protobuf: Update to 3.10.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 185/223] gnu: ruby-web-console: Update to 4.2.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 124/223] gnu: Add ruby-debug., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 161/223] gnu: Add ruby-bootsnap.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 128/223] gnu: Add ruby-bake-test-external., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 201/223] gnu: Add ruby-rspec-pending-for., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 144/223] gnu: ruby-mini-mime: Update to 1.1.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 131/223] gnu: Add ruby-localhost., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 154/223] gnu: Add ruby-net-pop., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 188/223] gnu: ruby-liquid: Update to 4.0.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 193/223] gnu: ruby-shoulda: Update to 4.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 132/223] gnu: bundler: Update to 2.4.8., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 180/223] gnu: ruby-braintree: Update to 4.10.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 197/223] gnu: jekyll: Update to 4.3.2 and enable tests., Maxim Cournoyer, 2023/03/20