[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 173/223] gnu: Add ruby-pleaserun.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 173/223] gnu: Add ruby-pleaserun. |
Date: |
Mon, 20 Mar 2023 13:22:59 -0400 |
* gnu/packages/ruby.scm (ruby-pleaserun): New variable.
---
gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4707002fe7..1d1eba741c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4119,6 +4119,48 @@ (define-public ruby-net-smtp
(home-page "https://github.com/ruby/net-smtp")
(license license:bsd-2)))
+(define-public ruby-pleaserun
+ (package
+ (name "ruby-pleaserun")
+ (version "0.0.32")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "pleaserun" version))
+ (sha256
+ (base32
+ "1aykf0l8327bqkkf5xd9jcglsib973zpy37cfnlf4j0vp0cdpn2d"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-requirements
+ (lambda _
+ (substitute* "pleaserun.gemspec"
+ ;; Mustache is pinned at 0.99.8, for portability with
+ ;; older Rubies.
+ (("dependency\\(%q<mustache>.freeze.*")
+ "dependency(%q<mustache>.freeze)\n"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The cli_spec.rb test fails non-deterministically with
+ ;; a Errno::EISDIR error (see:
+ ;; https://github.com/jordansissel/pleaserun/issues/155)
+ (invoke "rspec" "--exclude-pattern" "cli_spec.rb")))))))
+ (native-inputs (list ruby-flores ruby-rspec))
+ (propagated-inputs (list ruby-cabin
+ ruby-clamp
+ ruby-dotenv
+ ruby-insist
+ ruby-mustache
+ ruby-stud))
+ (synopsis "Init scripts and service definitions generation tool")
+ (description "Pleaserun is a tool to generate startup scripts and service
+definitions. It targets service managers such as systemd, Upstart, launchd,
+sysv init, and runit.")
+ (home-page "https://github.com/jordansissel/pleaserun")
+ (license license:asl2.0)))
+
(define-public ruby-power-assert
(package
(name "ruby-power-assert")
--
2.39.1
- [bug#62196] [PATCH 177/223] gnu: ruby-minitest: Update to 5.18.0., (continued)
- [bug#62196] [PATCH 177/223] gnu: ruby-minitest: Update to 5.18.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 171/223] gnu: Add ruby-dotenv-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 192/223] gnu: ruby-shoulda-matchers: Honor #:tests?., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 200/223] gnu: Add ruby-ruby-version., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 195/223] gnu: ruby-unf-ext: Update to 0.0.8.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 198/223] gnu: Add ruby-rspec-stubbed-env., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 151/223] gnu: Add ruby-net-protocol., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 153/223] gnu: Add ruby-net-imap., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 166/223] gnu: Add ruby-propshaft., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 170/223] gnu: ruby-spring: Update to 4.1.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 173/223] gnu: Add ruby-pleaserun.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 179/223] gnu: Add fpm., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 189/223] gnu: ruby-shoulda-context: Update to 2.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 162/223] gnu: ruby-globalid: Update to 1.1.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 145/223] gnu: ruby-marcel: Update to 1.0.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 172/223] gnu: Add ruby-flores., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 158/223] gnu: ruby-sprockets: Update to 4.2.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 175/223] gnu: Add perl-app-cpanminus., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 187/223] gnu: ruby-terminal-table: Update to 3.0.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 118/223] gnu: Add ruby-msgpack., Maxim Cournoyer, 2023/03/20