[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
126/229: gnu: Add ruby-bake.
From: |
guix-commits |
Subject: |
126/229: gnu: Add ruby-bake. |
Date: |
Tue, 28 Mar 2023 22:29:12 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 1536bfe970a46b50c88ec897c700d4cc2d82613c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jan 9 20:56:48 2023 -0500
gnu: Add ruby-bake.
* gnu/packages/ruby.scm (ruby-bake): New variable.
---
gnu/packages/ruby.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c6cabf313a..a2ecc16713 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3748,6 +3748,50 @@ output.")
(home-page "https://github.com/whitequark/bacon-colored_output")
(license license:expat)))
+(define-public ruby-bake
+ (package
+ (name "ruby-bake")
+ (version "0.18.2")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/ioquatix/bake")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19yi1fxzz9n580gig3p3j6nxbgcfcassa6b0q07jkqrzxdqn7xhn"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'sanitize-dependencies
+ (lambda _
+ ;; These dependencies are not needed to build and run tests
+ ;; and contain circular dependencies.
+ (substitute* "gems.rb"
+ ((".*'bake-modernize'.*") "")
+ ((".*'bake-gem'.*") "")
+ ((".*'bake-github-pages'.*") "")
+ ((".*'utopia-project'.*") ""))))
+ (add-before 'build 'drop-signing-key-requirement
+ (lambda _
+ (substitute* "bake.gemspec"
+ (("spec.signing_key =.*")
+ "spec.signing_key = nil"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec")))))))
+ (native-inputs (list ruby-covered ruby-rspec))
+ (propagated-inputs (list ruby-samovar))
+ (synopsis "Replacement for rake with a simpler syntax")
+ (description "Bake is a task execution tool, inspired by Rake, but
+codifying many of the use cases which are typically implemented in an ad-hoc
+manner.")
+ (home-page "https://github.com/ioquatix/bake")
+ (license license:expat)))
+
(define-public ruby-connection-pool
(package
(name "ruby-connection-pool")
- 143/229: gnu: ruby-actioncable: Update to 7.0.4.3 and enable tests., (continued)
- 143/229: gnu: ruby-actioncable: Update to 7.0.4.3 and enable tests., guix-commits, 2023/03/28
- 146/229: gnu: ruby-marcel: Relocate to (gnu packages rails)., guix-commits, 2023/03/28
- 147/229: gnu: ruby-marcel: Enable tests., guix-commits, 2023/03/28
- 150/229: gnu: Add ruby-timeout., guix-commits, 2023/03/28
- 152/229: gnu: Add ruby-date., guix-commits, 2023/03/28
- 157/229: gnu: ruby-actionmailer: Update to 7.0.4.3., guix-commits, 2023/03/28
- 58/229: gnu: Add ruby-bcrypt., guix-commits, 2023/03/28
- 103/229: gnu: ruby-pry-byebug: Update to 3.10.1., guix-commits, 2023/03/28
- 105/229: gnu: Remove ruby-chandler., guix-commits, 2023/03/28
- 108/229: gnu: ruby-maxitest: Update to 4.4.1., guix-commits, 2023/03/28
- 126/229: gnu: Add ruby-bake.,
guix-commits <=
- 135/229: gnu: Add ruby-rack-session., guix-commits, 2023/03/28
- 154/229: gnu: Add ruby-net-pop., guix-commits, 2023/03/28
- 136/229: gnu: ruby-rubyzip: Update to 2.3.2., guix-commits, 2023/03/28
- 164/229: gnu: Add ruby-importmap-rails., guix-commits, 2023/03/28
- 174/229: gnu: Add ruby-arr-pm., guix-commits, 2023/03/28
- 179/229: gnu: Add fpm., guix-commits, 2023/03/28
- 182/229: gnu: ruby-temple: Update to 0.10.0., guix-commits, 2023/03/28
- 141/229: gnu: Add ruby-websocket-eventmachine-server., guix-commits, 2023/03/28
- 142/229: gnu: Add ruby-websocket-client-simple., guix-commits, 2023/03/28
- 144/229: gnu: ruby-mini-mime: Update to 1.1.2., guix-commits, 2023/03/28