guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50537] [PATCH v2 15/27] gnu: Add ruby-dhall.


From: Stephen Paul Weber
Subject: [bug#50537] [PATCH v2 15/27] gnu: Add ruby-dhall.
Date: Wed, 27 Apr 2022 13:46:21 -0500

* gnu/packages/ruby.scm (ruby-dhall): New variable.
---
 gnu/packages/ruby.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e3330d54eb..3c4d62dd3c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12614,3 +12614,36 @@ based on Sadayuki Furuhashi's MessagePack library.")
       "Ruby extension for base32 encoding and decoding")
     (home-page "https://github.com/stesla/base32";)
     (license license:expat)))
+
+(define-public ruby-dhall
+  (package
+    (name "ruby-dhall")
+    (version "0.5.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "dhall" version))
+        (sha256
+          (base32
+            "09wcq8xc1ynld04r2f332bx8cn7rjc4afaq8hm1dr2fc35jlpn6m"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No test in gem archive
+     `(#:tests? #f))
+    (propagated-inputs
+      `(("ruby-base32" ,ruby-base32)
+        ("ruby-cbor" ,ruby-cbor)
+        ("ruby-citrus" ,ruby-citrus)
+        ("ruby-lazy-object" ,ruby-lazy-object)
+        ("ruby-multihashes" ,ruby-multihashes)
+        ("ruby-promise.rb" ,ruby-promise.rb)
+        ("ruby-value-semantics" ,ruby-value-semantics)))
+    (synopsis
+      "This is a Ruby implementation of the Dhall configuration language")
+    (description
+      "This is a Ruby implementation of the Dhall configuration language.
+Dhall is a powerful, but safe and non-Turing-complete configuration language.
+For more information, see: https://dhall-lang.org";)
+    (home-page
+      "https://git.sr.ht/~singpolyma/dhall-ruby";)
+    (license license:gpl3)))
-- 
2.30.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]