From patchwork Tue Feb 13 16:08:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 60278 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 7EDDB27BBE2; Tue, 13 Feb 2024 16:09:07 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 7E95627BBE9 for ; Tue, 13 Feb 2024 16:09:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZvKx-0003ZI-4A; Tue, 13 Feb 2024 11:08:47 -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 1rZvKu-0003Z9-V9 for guix-patches@gnu.org; Tue, 13 Feb 2024 11:08:44 -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 1rZvKu-0000NT-Ls for guix-patches@gnu.org; Tue, 13 Feb 2024 11:08:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZvLC-0003P2-2U for guix-patches@gnu.org; Tue, 13 Feb 2024 11:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69104] [PATCH] gnu: Add gsl-lite. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2024 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69104@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170784052713045 (code B ref -1); Tue, 13 Feb 2024 16:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2024 16:08:47 +0000 Received: from localhost ([127.0.0.1]:45927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZvKw-0003OL-Kt for submit@debbugs.gnu.org; Tue, 13 Feb 2024 11:08:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:60424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZvKs-0003O5-Gn for submit@debbugs.gnu.org; Tue, 13 Feb 2024 11:08:44 -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 1rZvKZ-0003Wo-9H for guix-patches@gnu.org; Tue, 13 Feb 2024 11:08:23 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZvKV-0000IH-Dg for guix-patches@gnu.org; Tue, 13 Feb 2024 11:08:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1707840496; x=1708099696; bh=nHuyR5BfH0eO6p55yd6FeO0Cs7Epsq0+cw5Mhs4j2gM=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=GvhoMpHJ/RMQB9NsTW0yItP0UXPpxApRFN/pSW6QpTV+NkXP98jYolqB+fDrBOSu8 jYkKV6gKf2b9gr6yHQTTL3c7t5ZUMAXf5ZNrPQ2WbvT5knjl6Jh1A7Ns4D5d6JaiCP rK8bBFXk1UcWXJgSouMfGRKVzM77NFd3cgSpjjnR10b9Ja3B2oYiSJnhY6BIoN3JFT R3wZKcWEOy+6gT5rJkam/SndKbvbWPkrVnn8FFnPcI5NlsEkYpdH4rP08ZnXnvis48 KQ43O9lJ+5QrrbN1uk9VLjzkd2WQ4Nnw0b+FhbcldIx6zsL6KQxck2WtMZSlOEl8Gv AQGSZw+FKdspg== Date: Tue, 13 Feb 2024 16:08:02 +0000 From: "Paul A. Patience" Message-ID: <507f007a64c6d919adb902205ab5cdf4f4152dfb.1707840452.git.paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.22; envelope-from=paul@apatience.com; helo=mail-4022.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 (gsl-lite): New variable. Change-Id: Ieabc719b09a3ef2d7eb89d3bacfdf8e873b2030c --- gnu/packages/cpp.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2 diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 62a1923571..dd12a02859 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -38,7 +38,7 @@ ;;; Copyright © 2023 Liliana Marie Prikler ;;; Copyright © 2023 Denis 'GNUtoo' Carikli ;;; Copyright © 2023 Foundation Devices, Inc. -;;; Copyright © 2023 Paul A. Patience +;;; Copyright © 2023-2024 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -274,6 +274,30 @@ (define-public c++-gsl (home-page "https://github.com/microsoft/GSL/") (license license:expat))) +(define-public gsl-lite + (package + (name "gsl-lite") + (version "0.41.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gsl-lite/gsl-lite") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0aj2ck2jdiy05f83bknjb9zjvsi766d11fv6flxm0v9ngp3s5svj")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DGSL_LITE_OPT_BUILD_TESTS=ON"))) + (home-page "https://github.com/gsl-lite/gsl-lite") + (synopsis "Guidelines Support Library for C++98 and later") + (description "@i{gsl-lite} is a single-file header-only implementation of +the C++ Core Guidelines Support Library, originally based on Microsoft GSL and +adapted for C++98 and C++03. It is also compatible with C++11, C++14, C++17 +and C++20.") + (license license:expat))) + (define-public c2ffi (package (name "c2ffi")