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 aGnwC+ipGGScWgEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:46:00 +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 +DP1C+ipGGTTTAEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 19:46:00 +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 E2C57376A3 for ; Mon, 20 Mar 2023 19:45:59 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=m23Y8N3m; 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=1679337960; 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=7Hf9EYBJkXcMk4wBWUCwsf/ocwufWFLHinfB9mLU9yA=; b=YWZUdPcqA4SwwOzulAy3e4cShG60ZNwyRClrZjzRd7HIB3TSFHd1u5tIbxZ7TbuydYfZIg s0GaGIzrZ1PdJesxTiez8BKaHRA5u4ZTQQFK8D3ChwiRGuqGNSCdFM0sJhBD+VRc5Z+fGe nTSpdmSgqk9Q2TvdEpBFSorX7iGo42BXBhyLTyi1PdbIaxuohfnSXJZNoB48p2WW5mSvUr aei4G3BHoYLElCTHjTZD2E4ceptfVBNHeCjgHQ3nCh/EHCVre/dbfhcgAY0SkuKYw55xXo 7I2B6Yj8h4pDvoAevvkSf5G8VsRYWo342+Omq1vFu8qksEIFBN6pi+RoYpOF2g== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=m23Y8N3m; 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=1679337960; a=rsa-sha256; cv=none; b=SovwIhkmjMrhTbolwKNQf+7HMyoSgjlyjq658rVZns/m+VrA5saTiLMva60y+FpOo0S1Rm JuFMKocwkMR32B6JaC0VfWtRCPF63e/JkOQ5dG96RcXu5Azv4Rv48n0pAh61PFzK1FL1qB zlUII4XSmQNKIU2/XR2QWaywo3qyIv4vPG1MviwGfM+rtTn/HTAaTbTh/U/9B/bqE0BbA3 2n71vK2FkD214MxO6B0WKm4RnwG5wkMflBx10+KD5tWuPhC3qaB7m0dxgBIB3+5L2tM6Gi uSvEIe0AjOnqGYipjWPP8TQ1ez6svBqsmLFnZtUXVLCVzsRLDm58Woc7t6NpmA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJLN-00028I-Ev; Mon, 20 Mar 2023 13:30:49 -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 1peJKi-0000xe-CH for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:09 -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 1peJKh-0007Lf-47 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJKg-0004kS-P2 for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 205/223] gnu: Add ruby-snaky-hash. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:30:06 +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.167933339418086 (code B ref 62196); Mon, 20 Mar 2023 17:30:06 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:29:54 +0000 Received: from localhost ([127.0.0.1]:56354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKT-0004hW-P9 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:29:54 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:43592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJKQ-0004gC-99 for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:29:50 -0400 Received: by mail-qt1-f181.google.com with SMTP id c10so2795112qtj.10 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333384; 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=7Hf9EYBJkXcMk4wBWUCwsf/ocwufWFLHinfB9mLU9yA=; b=m23Y8N3m8qqg0sKoFkQavkoAjyObMUSGq3vGG2TZdXL23BDlyHSBCD6naa/3+eNOH9 Lb4XYXF1Rowe8PyKOFCcD7HPiYwlBZzboVw6iw/SELTBio6byUtTgMiqiSuZhJZlBr9H f61qTCaQIp5cq8LIdwT1EpL4Zoc1NGhyYs8bd/4YfQOLAc/acDmHB28KT9vMn1VLO1ZE b/Wl5NX3K6+IpLZnTAs7pKnR892V/ijAiMzbw69Ct17kA2pwRw6V3sItY9r8RT78TkVe LCtHgNpoMADAHru2SIC8yOt1EEsy+awjL9h5sk4YG8xvPVtEhtKiSQeVkyT8lwFhniHY 4rIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333384; 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=7Hf9EYBJkXcMk4wBWUCwsf/ocwufWFLHinfB9mLU9yA=; b=toaA5t4ulZ/csLl2rjLiKzVPXhRRCWiLZFAoZPCNPJACY89NV1lA9fdBBDGMHlMOq/ e/CJaeU6zKiaO3Eo+vNnLIVhS5sQhpEyPYX18xzY9GMFFLN/0Zkmw3fa+96nIjQXcxF4 XKuW55mx+cfi60HkIfYWTyEwBlx+9ghLHmjBkUrBqh+Y96Bi4HbXB1BT7B0t2108HqqL CqBqk7R6UnkdqgWWW7YiD/tDQjV24zG2rnAaryQa7NpvF9v5YfWm9PDwWIj4YfN8g5MW ECElkWPMcG+vmLcOeDGCxp6yiYSzAg6XO9ftMQLOudYGhMPbQU5+TzVtBY8k896Znl48 zO9Q== X-Gm-Message-State: AO0yUKWnPjJsRGboxJGv7HOcgm1WYg2M2Tpy2iKyrvq3lO5lwycCuAIm 7E/8vrnieQYTJTGdOA1q91zvhBAVOro= X-Google-Smtp-Source: AK7set+jpKDJAdKE5kMEuWKk8OpRDcSLcbRss+LgSeMIuvFyF5OtSgnH4VAj9bIWStO8FIcI2fHAgg== X-Received: by 2002:a05:622a:1305:b0:3df:e2b7:a34d with SMTP id v5-20020a05622a130500b003dfe2b7a34dmr10201qtk.11.1679333384612; Mon, 20 Mar 2023 10:29:44 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id g2-20020a37b602000000b0071aacb2c76asm7536708qkf.132.2023.03.20.10.29.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:29:44 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:29:15 -0400 Message-Id: <20230320172933.13101-4-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320172933.13101-1-maxim.cournoyer@gmail.com> References: <20230320172933.13101-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: E2C57376A3 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: QMo8Es4LBiJh * gnu/packages/ruby.scm (ruby-snaky-hash): New variable. --- gnu/packages/ruby.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 520dd70a08..87b78f7d2b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3798,6 +3798,49 @@ (define-public ruby-simplecov-lcov (home-page "https://github.com/fortissimo1997/simplecov-lcov") (license license:expat))) +(define-public ruby-snaky-hash + (package + (name "ruby-snaky-hash") + (version "2.0.1") + (source (origin + (method git-fetch) + (uri (git-reference ;for tests + (url "https://gitlab.com/oauth-xx/snaky_hash") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zmixxzi2g2d75zii65bq037j4g67p25l6aqddbmmwizspsp5az6")))) + (build-system ruby-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "Gemfile" + (("^linting = .*") + "linting = false\n") + (("^coverage = .*") + "coverage = false\n") + (("^debug = .*") + "debug = false\n")) + (substitute* "spec/spec_helper.rb" + (("^RUN_COVERAGE = .*") + "RUN_COVERAGE = false\n") + (("^ALL_FORMATTERS = .*") + "ALL_FORMATTERS = false\n")))) + (add-before 'build 'drop-signing-key-requirement + (lambda _ + (substitute* "snaky_hash.gemspec" + (("spec.signing_key =.*") + "spec.signing_key = nil"))))))) + (native-inputs (list ruby-rspec ruby-rspec-block-is-expected)) + (propagated-inputs (list ruby-hashie ruby-version-gem)) + (synopsis "Hash keys and look-ups normalization Ruby library") + (description "The SnakyHash Ruby library provides classes for normalizing +hash keys and look-ups, and a pseudo-object interface.") + (home-page "https://gitlab.com/oauth-xx/snaky_hash") + (license license:expat))) + (define-public ruby-useragent (package (name "ruby-useragent") -- 2.39.1