* [bug#71423] [PATCH 0/2] gnu: Add itamae.
@ 2024-06-08 0:04 gemmaro
2024-06-08 0:24 ` [bug#71423] [PATCH 1/2] gnu: Add ruby-schash gemmaro
2024-06-08 0:24 ` [bug#71423] [PATCH 2/2] gnu: Add itamae gemmaro
0 siblings, 2 replies; 3+ messages in thread
From: gemmaro @ 2024-06-08 0:04 UTC (permalink / raw)
To: 71423; +Cc: gemmaro
Hello,
This adds Itamae configulation management system and its dependency.
Thank you,
gemmaro.
gemmaro (2):
gnu: Add ruby-schash.
gnu: Add itamae.
gnu/packages/admin.scm | 31 +++++++++++++++++++++++++++++++
gnu/packages/ruby.scm | 28 +++++++++++++++++++++++++++-
2 files changed, 58 insertions(+), 1 deletion(-)
base-commit: 580d77d0fb12448ef1621699cc0c56e787e2aadb
--
2.45.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#71423] [PATCH 1/2] gnu: Add ruby-schash.
2024-06-08 0:04 [bug#71423] [PATCH 0/2] gnu: Add itamae gemmaro
@ 2024-06-08 0:24 ` gemmaro
2024-06-08 0:24 ` [bug#71423] [PATCH 2/2] gnu: Add itamae gemmaro
1 sibling, 0 replies; 3+ messages in thread
From: gemmaro @ 2024-06-08 0:24 UTC (permalink / raw)
To: 71423; +Cc: gemmaro, Christopher Baines
* gnu/packages/ruby.scm (ruby-schash): New variable.
Change-Id: Idb534f17e5e7cbc43b671e8c35d475484d423050
---
gnu/packages/ruby.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5c1e666bb0..28f6fbc7dc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -32,7 +32,7 @@
;;; Copyright © 2022-2024 Remco van 't Veer <remco@remworks.net>
;;; Copyright © 2022 Taiju HIGASHI <higashi@taiju.info>
;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream>
-;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
+;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023, 2024 Hartmut Goebel <h.goebel@crazy-compilers.com>
@@ -819,6 +819,32 @@ (define-public ruby-rspec-expectations-2
(propagated-inputs
(list ruby-diff-lcs))))
+(define-public ruby-schash
+ (package
+ (name "ruby-schash")
+ (version "0.1.2")
+ (source
+ (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/ryotarai/schash")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0q58k844i1rzxapcd8acppkkdm29ikfzn8nxas7kb7b5mf1xv9kv"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:test-target "spec"))
+ (native-inputs (list ruby-rspec))
+ (synopsis "Ruby Hash validator")
+ (description
+ "This gem is a Ruby's @code{Hash} validator. It allows library
+users to define their own validator schema using its domain specific
+language, and validate values with it.")
+ (home-page "https://github.com/ryotarai/schash")
+ (license license:expat)))
+
(define-public ruby-sorcerer
(package
(name "ruby-sorcerer")
--
2.45.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#71423] [PATCH 2/2] gnu: Add itamae.
2024-06-08 0:04 [bug#71423] [PATCH 0/2] gnu: Add itamae gemmaro
2024-06-08 0:24 ` [bug#71423] [PATCH 1/2] gnu: Add ruby-schash gemmaro
@ 2024-06-08 0:24 ` gemmaro
1 sibling, 0 replies; 3+ messages in thread
From: gemmaro @ 2024-06-08 0:24 UTC (permalink / raw)
To: 71423; +Cc: gemmaro
* gnu/packages/admin.scm (itamae): New variable.
Change-Id: I8648f7d0eb12a1e63af2e1cf9811a7dadcee2e43
---
gnu/packages/admin.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c730d43819..1d26b1de40 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -65,6 +65,7 @@
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@mailbox.org>
;;; Copyright © 2024 dan <i@dan.games>
+;;; Copyright © 2024 gemmaro <gemmaro.dev@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3150,6 +3151,36 @@ (define-public emacs-ansible-doc
'yaml-mode-hook #'ansible-doc-mode)}.")
(license license:gpl3+))))
+(define-public itamae
+ (package
+ (name "itamae")
+ (version "1.14.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "itamae" version))
+ (sha256
+ (base32 "1zhx0cknipkjqp33qdxjlv7lcybgmh1jv9npp55vxaazd8cyfylx"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:test-target "spec:unit"
+ #:phases #~(modify-phases %standard-phases
+ ;; There hasn't been the Fluentd packages yet.
+ (add-before 'check 'remove-fluentd-related-files
+ (lambda _
+ (delete-file
+ "spec/unit/lib/itamae/handler/fluentd_spec.rb"))))))
+ (native-inputs (list ruby-rspec ruby-fakefs))
+ (propagated-inputs (list ruby-ansi ruby-hashie ruby-schash ruby-specinfra
+ ruby-thor))
+ (synopsis "Simple and lightweight configuration management tool")
+ (description
+ "Itamae is a configulation management tool inspired by Chef, but simpler and
+lightweight.")
+ (home-page "https://itamae.kitchen/")
+ (license license:expat)))
+
(define-public cpulimit
(package
(name "cpulimit")
--
2.45.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-08 0:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-08 0:04 [bug#71423] [PATCH 0/2] gnu: Add itamae gemmaro
2024-06-08 0:24 ` [bug#71423] [PATCH 1/2] gnu: Add ruby-schash gemmaro
2024-06-08 0:24 ` [bug#71423] [PATCH 2/2] gnu: Add itamae gemmaro
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.