From patchwork Wed Apr 27 18:46:07 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: 38957 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 3827927BBEA; Wed, 27 Apr 2022 19:48:06 +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 B71CB27BBE9 for ; Wed, 27 Apr 2022 19:48:05 +0100 (BST) Received: from localhost ([::1]:57614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njmho-0007GM-Qz for patchwork@mira.cbaines.net; Wed, 27 Apr 2022 14:48:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njmgr-0005wj-LW for guix-patches@gnu.org; Wed, 27 Apr 2022 14:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njmgo-000528-MF for guix-patches@gnu.org; Wed, 27 Apr 2022 14:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njmgo-0005C8-KT for guix-patches@gnu.org; Wed, 27 Apr 2022 14:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50537] [PATCH v2 01/27] gnu: Add ruby-sucker-punch References: <20210912030229.GB26145@singpolyma-beefy.lan> In-Reply-To: <20210912030229.GB26145@singpolyma-beefy.lan> Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Apr 2022 18:47:02 +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.165108521119868 (code B ref 50537); Wed, 27 Apr 2022 18:47:02 +0000 Received: (at 50537) by debbugs.gnu.org; 27 Apr 2022 18:46:51 +0000 Received: from localhost ([127.0.0.1]:44339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmgd-0005AM-Gq for submit@debbugs.gnu.org; Wed, 27 Apr 2022 14:46:51 -0400 Received: from singpolyma.net ([192.99.233.116]:53543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njmgU-00057U-TG for 50537@debbugs.gnu.org; Wed, 27 Apr 2022 14:46:43 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 1B9A74861834; Wed, 27 Apr 2022 18:46:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1651085202; bh=BpnZhBHkoBIjBlliE3/DeT9DF1k3XMYVvy3JdEmAziE=; h=From:To:Cc:Subject:Date:From; b=Nx/hkZtz1UkIY5h0+oqQrna5DO0pY+niBhagsN1Retdlsn3j388gDJYnP7e4xLTWa WSoiIwmhBjAgRiBTtrqEBSnULviT7SGNdcEA56EK6xq0eYYKEdz3efbdNqhRuFjEQP qpbZ+c4mThlcCzy03nQYwkCqts/gsEZMObC4qqOI= From: Stephen Paul Weber Date: Wed, 27 Apr 2022 13:46:07 -0500 Message-Id: <20220427184633.94169-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 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-sucker-punch): New variable. --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index acccc4d4c4..50d6f86943 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12217,3 +12217,35 @@ functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments.") (home-page "https://github.com/ruby/cmath") (license license:bsd-2))) + +(define-public ruby-sucker-punch + (package + (name "ruby-sucker-punch") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sucker_punch" version)) + (sha256 + (base32 + "008vv7gpv2nm5n1njzvabd3aagbywc240y23vifvq6plir53ybay")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'extract-gemspec 'less-strict-dependencies + (lambda _ + (substitute* "sucker_punch.gemspec" + (("1.0.0") "1.0")) + #t))))) + (propagated-inputs + `(("ruby-concurrent" ,ruby-concurrent))) + (native-inputs + `(("ruby-pry" ,ruby-pry))) + (synopsis + "Asynchronous processing library for Ruby") + (description + "Asynchronous processing library for Ruby") + (home-page + "https://github.com/brandonhilkert/sucker_punch") + (license license:expat)))