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 GLMeKlimGGSbDAEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:30: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 EEMjKlimGGSMfwAA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 19:30: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 625FE372B6 for ; Mon, 20 Mar 2023 19:30:48 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kOhG0Rl6; 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=1679337048; 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=Ar9Vgb45oNSFG+ibGKINffzRMCoqgvAi71T+KOUZYPs=; b=KQtJ3R2ItkRADdqYCIAWd0BTSGbi51akz2rucRLLkA6/FWrH9JjRzVXIYL13U+bDFytFHF IU964Qo6hnt+TnJzNQOgajiboSrhEkN4AWcMbQImhfbRYx5eHlclnTccPP62LAhCHwY+l8 idBjRN6sIRAq104PPtdnFiQdiMs6B7CID5Ua6AV0LQAyKxVzH3db7jk3ZsNgRg9VLzi0fm Yuw+jRsOsbm18yanpdHzMym9zxNYs2kqgRJkVU/WbWgCMAVuQ5X2W2Z6KGCdd98/s+fv5A 1v/K+M4eBx4aHuCfKlcb/TFVPOKyfM8tsdtyvUUKKYEeHryVj/1F2UVDF5ZWwQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kOhG0Rl6; 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-Seal: i=1; s=key1; d=yhetil.org; t=1679337048; a=rsa-sha256; cv=none; b=q87uQIsvVLSQUtC0FIkMMtznup2tPdjRGsJb856E/XfHZuOfDIHGuSS4LkVUydpVjHqs3P bXcHPhD2Kk2qI1vfK1JD52T7fbBMnRDmvTpWDLTDNwJCRd7J+WprHkbKojDDH43Fx8OjXb chuCKlFU4mEVudyUFclXRvWbpaNHJGXor5EEcnKOYDElyPrK1ZPOEPBVRjuaoJ5EYgFhqM lZvXICQve0tK9FCAOpCw3aE5s1osH8zBk5FsbdGBer8C+BSjUZhOLTkUt9Xkw9OwlJ5uCz IN4nF6IOZVIAU38tz21u4+VmtSJSrWOup8Nms20qHzgVr8Hmr7er3FKZDZ8iaw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJNY-0005Pd-QU; Mon, 20 Mar 2023 13:33:04 -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 1peJNW-0005O4-Tn for guix-patches@gnu.org; Mon, 20 Mar 2023 13:33:02 -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 1peJNW-0000w2-LA for guix-patches@gnu.org; Mon, 20 Mar 2023 13:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJNW-0004zS-HW for guix-patches@gnu.org; Mon, 20 Mar 2023 13:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 131/223] gnu: Add ruby-localhost. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:33:02 +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.167933354619080 (code B ref 62196); Mon, 20 Mar 2023 17:33:02 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:32:26 +0000 Received: from localhost ([127.0.0.1]:56491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJMw-0004xg-31 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:32:26 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:45642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJMu-0004xS-7M for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:32:24 -0400 Received: by mail-qv1-f45.google.com with SMTP id m16so704174qvi.12 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333538; 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=Ar9Vgb45oNSFG+ibGKINffzRMCoqgvAi71T+KOUZYPs=; b=kOhG0Rl6o4RKZqxmKEHgAGrAxA8ez2fDdGhqktDdTsBcwHDzogELXRPpYD0d6c6L6A W9pqNEsA8VdeLWvUEtYZyb70oXwPPiOghJ/brZSF2pF5gpldn+u1lSYTo0qPsWP+ektg cQjo8tJfJXYi/6iAhaNln6X4v4whsIOY7HXFmv3ejWw2T7qjlZpRaOG/gZrvE3R/VrL8 gGW0FVGMfTK/6nVT1UE3Ko5BsWizJjcyXzEQGhSXX6uDGW/IGQIeo32y5IA4QVggSPDq q0bXf+6WBqIULf/ey4JgVKb2GX6oqkSp+jqskeMv3XTkVYqr1EOSG/5WYwWxgy5gWs3Z mbbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333538; 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=Ar9Vgb45oNSFG+ibGKINffzRMCoqgvAi71T+KOUZYPs=; b=xuh5U7dUp904FUPs/fJvzjECqgGbb4Lx4Cgr9SovJ7XzRDvA/e7g2RtnDiYdz8eJkG NnYxkV+hIWqPIObcVx148dgsPPZadf5FlofGzMtuimcZ/eBaTdDawm+Eh1aMCnnmAU+o LdhBSyaEdFtrpdBjkWsV7ebi6VSCun022Ivf8CF9YFs324MPM16DxC33JfA6nKB4vcUm myONgovATizBjr2gg1+D1FcuEc1FMoWRbCxDsKTuOAegpsDAW5UHmc5W3vE6fvQ6j188 DR5vlvHjN0rcsVJEvQOgAQ/exMsIgxAGfPzAGTX/6v1jrlLQ3S/EXr6bIrQd3ay8KLj4 d/oQ== X-Gm-Message-State: AO0yUKX4V5jqgTyYwNIkuqKz5vpvLFrAKVhbIxftE9MeBghG8ICo84hv 0QzKtmFETs6amXAHd5oWPnu+ABFANC8= X-Google-Smtp-Source: AK7set8nuK0rgXDLAdvcTbMAJY5OgC3E4n1c/uzTpHjw4WJ5EU7eyLXStkeyf5AvKSOVzP3TAUABWw== X-Received: by 2002:a05:6214:2622:b0:5b8:1f61:a20 with SMTP id gv2-20020a056214262200b005b81f610a20mr21808058qvb.35.1679333064548; Mon, 20 Mar 2023 10:24:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:24:24 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:22:17 -0400 Message-Id: <20230320172349.12752-30-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: X-Migadu-Queue-Id: 625FE372B6 X-Spam-Score: -1.95 X-Migadu-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: Ys/caWiQYGJZ * gnu/packages/ruby.scm (ruby-localhost): 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 7fa86de56b..9e5669de51 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12555,6 +12555,38 @@ (define-public ruby-liquid to load dynamic content on storefronts.") (license license:expat))) +(define-public ruby-localhost + (package + (name "ruby-localhost") + (version "1.1.10") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/socketry/localhost") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yp70w15wpfk613ap5f4y15yx4n2qqwa67vqc2f4lv7npf3llcz0")))) + (build-system ruby-build-system) + (arguments + ;; XXX: The test suite requires sus-fixtures-async, which requires async, + ;; only available for Ruby 3.0. + (list #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'remove-missing-signing-key + (lambda _ + ;; Otherwise, the build fails with ENOENT. + (substitute* "localhost.gemspec" + ((".*spec.signing_key.*") ""))))))) + (synopsis "API for generating per-user self-signed root certificates") + (description "This package provides @code{localhost}, a Ruby library for +Managing a local certificate authority for self-signed, localhost development +servers.") + (home-page "https://github.com/socketry/localhost") + (license license:expat))) + (define-public ruby-forwardable-extended (package (name "ruby-forwardable-extended") -- 2.39.1