From: "Paul A. Patience" <paul@apatience.com>
To: 69104@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#69104] [PATCH] gnu: Add gsl-lite.
Date: Tue, 13 Feb 2024 16:08:02 +0000 [thread overview]
Message-ID: <507f007a64c6d919adb902205ab5cdf4f4152dfb.1707840452.git.paul@apatience.com> (raw)
* gnu/packages/cpp.scm (gsl-lite): New variable.
Change-Id: Ieabc719b09a3ef2d7eb89d3bacfdf8e873b2030c
---
gnu/packages/cpp.scm | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
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 <liliana.prikler@gmail.com>
;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
-;;; Copyright © 2023 Paul A. Patience <paul@apatience.com>
+;;; Copyright © 2023-2024 Paul A. Patience <paul@apatience.com>
;;;
;;; 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")
base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2
--
2.41.0
reply other threads:[~2024-02-13 16:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=507f007a64c6d919adb902205ab5cdf4f4152dfb.1707840452.git.paul@apatience.com \
--to=paul@apatience.com \
--cc=69104@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).