From patchwork Mon Mar 3 19:45:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 39648 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 609F527BBE2; Mon, 3 Mar 2025 19:47:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A 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 9198327BBF0 for ; Mon, 3 Mar 2025 19:47:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tpBjr-0003yl-BF; Mon, 03 Mar 2025 14:46:08 -0500 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 1tpBjo-0003tH-Ij for guix-patches@gnu.org; Mon, 03 Mar 2025 14:46:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tpBjn-00016B-88 for guix-patches@gnu.org; Mon, 03 Mar 2025 14:46:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=0D+ym82lkpUvtQRTrO822Md5OlyWWr1NYEZVsYP2aGU=; b=kWuHsDnrqtJe2eGCHmf+wIagDUbvfYRzOSFPztIYsda+XREKB5Gc2yCTcdg+Zp/KlbXyXho2pD65tyKSOT093DwqRqUHxofSv6kAW7ujTZH/iAVbRMiTskyJKQ/FigWYspFbgL6tevg0lAaWLeGGeLti1RiWvVizgtAq9uNLU5Zzt6jNv6JdoqzZM0wI0Bg2U+ExtgyFhx4Qnv1BnwcIdTEImJrExl0GCnC089iKYFTz0QLtPM/J3/jvJTYcX8bgZpgFXAbQECTq03b2C9WKnX6yPcetCO4ybHqoq5BAUuLavul6uExV/lCNKxAiXSGsPf2kAQMw7U5gAgNhMom0BQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tpBjm-0007ED-QG for guix-patches@gnu.org; Mon, 03 Mar 2025 14:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#63991] [PATCH v3 1/3] gnu: Add rang. Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Mar 2025 19:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63991 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63991@debbugs.gnu.org, mail@nicolasgoaziou.fr Cc: Andy Tai Received: via spool by 63991-submit@debbugs.gnu.org id=B63991.174103116027764 (code B ref 63991); Mon, 03 Mar 2025 19:46:02 +0000 Received: (at 63991) by debbugs.gnu.org; 3 Mar 2025 19:46:00 +0000 Received: from localhost ([127.0.0.1]:52172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpBjk-0007Dd-6w for submit@debbugs.gnu.org; Mon, 03 Mar 2025 14:46:00 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:50466) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tpBjf-0007Cg-5M for 63991@debbugs.gnu.org; Mon, 03 Mar 2025 14:45:56 -0500 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-2234e4b079cso88351165ad.1 for <63991@debbugs.gnu.org>; Mon, 03 Mar 2025 11:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741031149; x=1741635949; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=0D+ym82lkpUvtQRTrO822Md5OlyWWr1NYEZVsYP2aGU=; b=OHqemvlg1aSI38ZLV9X3dtbIVt5Qk6EdCCJAizryexiodM9Ikg7bQhgly5nxndbEQc 7AJ5VY/QgizwMo/Z+qrMcqQJBy59D5IHHDQhHL6fnsWGVn2+rB2tJbfaQ6mPDfeIjRJn Lb2YjOzZRtUzQBBsy5sNWbgKFzTY4HBSO+OmKFHZXBNbzWtmfegvfJdjSIp+7JaVHhew /JXjD6tgVWUyqJBqZS2mJy9JHtO5egaT+nuYc2wBl9kPQkcGk41kesupsC7V+oMVpnMs tbMxb1FxaZS9izn0lYE8YXomYpQLbiaSDFzNDVCjtVkffTUjF2SAAlNd56nUshCD13SK pZWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741031149; x=1741635949; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0D+ym82lkpUvtQRTrO822Md5OlyWWr1NYEZVsYP2aGU=; b=heMNeZ4CaZIWWwlrkZa6dnpA3l/hhith95bVEFaR29ciBImfZH7FFKu0/qV52gxfY6 G2+shd9tXjFKOyKEFQCrKSj0rxvrBtOKK+8f4g6biGjte22SkIuVVrSXyfWkhFhWq83h wj7lls7tSFodkLvrbZk3i3KPN2eDAMnXOxTocxRQ3KIHx2DZZO6KML8iIDDdWT9jSKpi TAuXmUVuLAScRsYcVa3bbz7xQMG0UaTOID44xqhnyOw0V6U6eO9cRwDAn4ceCpscMi7d kr+Gm5ad6Y4rDC9LKSh5pk5YOmllc4O2TV9iPPfAW885hJwyAKN5bF4jgMpHD0II20qS sWYA== X-Gm-Message-State: AOJu0YzZa4mVgILR5xXq7CfCLvXGHWxWMalg/t1Rq8zsFHOud/dg6CfT T6GED/DU73X7SfxFO5yTkefV6y62GQZCIX6RHqJgj/mLo0NkBE1EPeQ6Pg== X-Gm-Gg: ASbGncvv0lo8v5oSGzUjp5dpwDDri+S8fxYUrKryNhB2gLmNGGXNEFG3kG63azlo53/ OGz0ht+wkhtjEIi1hAo7U3c7zU3S+9EzsI1h7TLe2p1xzES/ZXMvW1dO1JDqPhqVZXSTqtNrcsB ON6Db5TlctWC6f7e4RRagdg6Yb0Zhq+b+iLGRn/hDZ81GqXFXCJVDCtJXbqH3bHE1JlLMVcPKAm b7jlVPri+LLzVQnpratKT1PIsTfYd723dq3yDjCdI1pDS0zVqIUJvwxAIEz7JQFMtZaimhNXpGM v0NXsd0OLOWmUncNY8encbquUdrvu+bvylWh1tLT X-Google-Smtp-Source: AGHT+IFCxP+HOknMVJMv6IzZmkfi44JTiisi4/0Q3priNU6OifN8eb1+Ln0ki7MC+sk1vQqzIiUT2A== X-Received: by 2002:a05:6a21:78a1:b0:1ee:ab62:c29 with SMTP id adf61e73a8af0-1f2f4e45086mr23276893637.31.1741031148708; Mon, 03 Mar 2025 11:45:48 -0800 (PST) Received: from DEskMiniX300.. ([172.98.218.160]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-aee7de1a488sm8567225a12.27.2025.03.03.11.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Mar 2025 11:45:48 -0800 (PST) From: Andy Tai Date: Mon, 3 Mar 2025 11:45:41 -0800 Message-ID: <5dfb642eeee254e410d777ec57f4a07d600458be.1741031015.git.atai@atai.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (rang): New variable. Change-Id: Iacbea931d392579ebdc49965fc3b248ae3759a6c Signed-off-by: Nicolas Goaziou --- gnu/packages/cpp.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index d6dc070756..8d482d1fbd 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -310,6 +310,27 @@ (define-public cpp-utilities parser, IO and conversion utilities.") (license license:gpl2+))) +(define-public rang + (package + (name "rang") + (version "3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/agauniyal/rang") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0x2fp7zjjivgxblvx1j0qphn4ln6jq42x7xr757fywm3k03y7bil")))) + (build-system cmake-build-system) + (arguments (list #:tests? #f)) ; no tests + (home-page "https://agauniyal.github.io/rang/") + (synopsis "Header only terminal C++ library") + (description + "Rang is a minimal, header only C++ library for terminal goodies.") + (license license:asl2.0))) + (define-public range-v3 (package (name "range-v3")