From patchwork Wed Apr 27 18:46:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 38968 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 11EF227BBEA; Wed, 27 Apr 2022 19:49:05 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CB80E27BBE9 for ; Wed, 27 Apr 2022 19:49:04 +0100 (BST) Received: from localhost ([::1]:60246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njmil-0000tx-UT for patchwork@mira.cbaines.net; Wed, 27 Apr 2022 14:49:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njmhn-0007av-ML for guix-patches@gnu.org; Wed, 27 Apr 2022 14:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njmhn-0005Dj-Cl for guix-patches@gnu.org; Wed, 27 Apr 2022 14:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njmhn-0005Jh-Ac for guix-patches@gnu.org; Wed, 27 Apr 2022 14:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50537] [PATCH v2 15/27] gnu: Add ruby-dhall. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Apr 2022 18:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50537 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50537@debbugs.gnu.org Cc: Stephen Paul Weber , rg@raghavgururajan.name Received: via spool by 50537-submit@debbugs.gnu.org id=B50537.165108524420140 (code B ref 50537); Wed, 27 Apr 2022 18:48:03 +0000 Received: (at 50537) by debbugs.gnu.org; 27 Apr 2022 18:47:24 +0000 Received: from localhost ([127.0.0.1]:44384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmh9-0005Eg-Ke for submit@debbugs.gnu.org; Wed, 27 Apr 2022 14:47:23 -0400 Received: from singpolyma.net ([192.99.233.116]:55543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmgW-00057f-DT for 50537@debbugs.gnu.org; Wed, 27 Apr 2022 14:46:47 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 2EB774861846; Wed, 27 Apr 2022 18:46:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1651085204; bh=X09YM3gbQ6OerK1NR9GYyQRqdco/5XYSL85RTDbHAh0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EhaUJy38TBZ/nzTLst9K8PQut1Kb4UkXOUJlweOkCOca1y3KgVh2AsBauy90jHYJS l/yVruLPXt5X2QSkXCv5zRmUTt0403KHOKYFo1z+PECvYsbyQ1GlhyOvUp4Ip0nhX+ /h1b7qcyUmeNRpg8MzEk90wVyilXR4flYM936HSw= From: Stephen Paul Weber Date: Wed, 27 Apr 2022 13:46:21 -0500 Message-Id: <20220427184633.94169-15-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220427184633.94169-1-singpolyma@singpolyma.net> References: <20220427184633.94169-1-singpolyma@singpolyma.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)))