From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2JTmGsCnGGSCmAAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:36:48 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kILrGsCnGGTTTAEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 19:36:48 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 25BCA37584 for ; Mon, 20 Mar 2023 19:36:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJMd-00044M-MR; Mon, 20 Mar 2023 13:32:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peJMb-00041L-Vn for guix-patches@gnu.org; Mon, 20 Mar 2023 13:32:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peJMb-00009R-DK for guix-patches@gnu.org; Mon, 20 Mar 2023 13:32:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJMb-0004wT-7i for guix-patches@gnu.org; Mon, 20 Mar 2023 13:32:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 161/223] gnu: Add ruby-bootsnap. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:32:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62196 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62196@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 62196-submit@debbugs.gnu.org id=B62196.167933351518916 (code B ref 62196); Mon, 20 Mar 2023 17:32:05 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:31:55 +0000 Received: from localhost ([127.0.0.1]:56472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJMR-0004v1-4o for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:31:55 -0400 Received: from mail-ot1-f50.google.com ([209.85.210.50]:40639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJMP-0004ub-40 for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:31:54 -0400 Received: by mail-ot1-f50.google.com with SMTP id v2-20020a056830090200b0069c6952f4d3so7142943ott.7 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333507; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=K7Oa7zvAafdJJCgYX3ulZDecLdtiA0dxSqeN9IOIzPc=; b=NT4Rhg0j++MTZvxQczuf+YLpfbssUVFVubpbOoD6o1ol/qO8RcYH2m8Ux8UWs2/Xzf lTCiUJ5RJxcDEAR1qaB7vCkde0jatcbRvs/caGDOZEgQ5ZhkvzU4kTtK0OAvfsDvAqrF EzBeYC7ZWt6c4yToFAZZmMmoQMS+CE6qhZfriHq7XXCKZVyzdGFqFZhsS/aJaj45S/XE 0ZEXV6Fs9L5dSC8SsQZNlf5EocOMpW2VXj+xubXkehocf9IwCtNH5Aj6fsu74DooNwnp 8KCXQNWCOcjXVIdGcQ98DswA7HRpQ5X4G07VNE/EFFHo4w5NCqUT1+t4fyGFupZr8To6 93Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333507; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K7Oa7zvAafdJJCgYX3ulZDecLdtiA0dxSqeN9IOIzPc=; b=oXAu/n+jo8B2bz0itHqPONtiigk0s54bSW63ieQbiBIf5AvfzedZbh0LfmRZwW4O3v 2kTJchKRIdoiE+VRkSdSAMTeSl3U00QGsVPs+mYK6ct+EP3Oh9iTgVE0vWl8y+Oaxvq4 2etmkS+3/2uPUS5uZfI3TYmoZw9BmzxQleGm8yWcu+oeWy/u0enIyj45mGArxVUXeIPb m4moVyNpScBk0NMBfZUydTo+R9NxxJXGgACW/eBs5pxSwqNmfIfTscZAwOIPVKTVReHJ 5YzUpKejGjWTe0GgqcyR7nYmEwWXKaxMekiQuo+7DlYYin7SrayNHLkBgT87SSDA6442 mO1g== X-Gm-Message-State: AO0yUKVbTOAkVNkk5izsKve5nRjsC4+6secuq/1AHovqnu8aTlhQRsMX hTZxklQQw8qKz5pUKrExLk0G75BuG4M= X-Google-Smtp-Source: AK7set+ipY4oF1xkdTcTJcv/3txV6iWENKGKe2Qyoe+KS8z7QuRCL4Ro7AGBgL+EcXx/2MgEh4+fGg== X-Received: by 2002:ac8:5b87:0:b0:3b9:bcac:725b with SMTP id a7-20020ac85b87000000b003b9bcac725bmr30159867qta.22.1679333092888; Mon, 20 Mar 2023 10:24:52 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id i7-20020a378607000000b007422eee8058sm7769352qkd.125.2023.03.20.10.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:24:52 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:22:47 -0400 Message-Id: <20230320172349.12752-60-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320172349.12752-1-maxim.cournoyer@gmail.com> References: <20230320172349.12752-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679337408; a=rsa-sha256; cv=none; b=VVbaayFjVCFkgVdtGDp7sb3IltqIJezqAVAtiQL682w5hE7MGrfz0bywbihOGK3YIjw7dp gsdjSZekixTrXKmiq9UqABNy4Cko1me+tmpDfhDgFF20HdBxAR4r2GSsBOCQ2r/dBDg6To vlPEHKF23n0xS+ygpwo9el9qEbE8gil5Lpif39ECqBhKQEyUq7b+JnmIHTltnEw6KKfIBq R5E+Q5bTyFXXbgddMajpAESkoSDyXOm4leW2nIHG6uEyVVKR5BgSsGS+5+P2mmpZgkSEWw A/k+7PWZwvdnZCeDqCvNRcHiyDwDXcRneqWFP9Kub5ULegEQxjCBguxVpBplzA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NT4Rhg0j; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679337408; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=K7Oa7zvAafdJJCgYX3ulZDecLdtiA0dxSqeN9IOIzPc=; b=oBQOUsuZteaKeNVkWFdVyVIrW+3PyKyjR7anZWHDcuJVuqrFRQtZi/j6Y2o7gdGvrnh3F8 L+9EJiFYbH042qwnEN8unRP279hTZH6oAF3sPDpysvRsAmPOP/7slH+xR8WevpIQNBTgjW gplB0sUJwUB9rqdcnrgL7pG215hWlID1aSD7nAEwgQ/WyPd52KM3NLEj2ZyQdMfelxmURp hLctaEjZy5qui9Kt4bi/lHuaNQkkZEUBdnk2cmf/qr5zfA8DNNZhBD+FShcGWZfwdYW9R7 Y0sflp3fCh8AsETbElL3nthPQWfTffvHttpcq8cor4bcsvMX7i10cglFoi3Igg== X-Migadu-Spam-Score: 6.25 X-Spam-Score: 6.25 X-Migadu-Queue-Id: 25BCA37584 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NT4Rhg0j; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-TUID: dRGsCi1/iMV1 * gnu/packages/rails.scm (ruby-bootsnap): New variable. --- gnu/packages/rails.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 9b789e13bd..33c0af70b2 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -733,6 +733,45 @@ (define-public ruby-actionmailer (home-page "https://rubyonrails.org/") (license license:expat))) +(define-public ruby-bootsnap + (package + (name "ruby-bootsnap") + (version "1.16.0") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/Shopify/bootsnap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gaih5v4jjndrkn0crrr5mxnwc3cd0f3i955n62ghk29zabvd7wf")))) + (build-system ruby-build-system) + (arguments + (list + #:test-target "default" + #:phases + #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'relax-requirements + (lambda _ + (substitute* "Gemfile" + ;; Rubocop and byebug are not actually needed to run the + ;; tests. + ((".*rubocop.*") "") + ((".*byebug.*") "")))) + (replace 'replace-git-ls-files + (lambda _ + (substitute* "bootsnap.gemspec" + (("`git ls-files -z ext lib`") + "`find ext lib -type f -print0 | sort -z`"))))))) + (native-inputs (list ruby-mocha ruby-rake-compiler)) + (propagated-inputs (list ruby-msgpack)) + (synopsis "Accelerator for large Ruby/Rails application") + (description "Bootsnap is a library that plugs into Ruby, with optional +support for YAML, to optimize and cache expensive computations.") + (home-page "https://github.com/Shopify/bootsnap") + (license license:expat))) + (define-public ruby-marcel (package (name "ruby-marcel") -- 2.39.1