diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-05 23:43:44 -0500 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-09 22:10:11 -0500 |
| commit | 0ec349078f49a1ef621b709fe08c7fd21aee5755 (patch) | |
| tree | a6db63adf905b3f8606e7f7fa34fa2ed52143a4f /gnu/packages/cpp.scm | |
| parent | 45d07a0b01c30d18a537c47efce79192b8c8d178 (diff) | |
gnu: Add expected-lite.
* gnu/packages/cpp.scm (expected-lite): New variable.
Change-Id: I5a21dd631e1f2a3c97b920efcdca69f2537b42da
Diffstat (limited to 'gnu/packages/cpp.scm')
| -rw-r--r-- | gnu/packages/cpp.scm | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 0f2c6e0b854..f65506dcecd 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | ;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> | 31 | ;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> |
| 32 | ;;; Copyright © 2022, 2023 David Elsing <david.elsing@posteo.net> | 32 | ;;; Copyright © 2022, 2023 David Elsing <david.elsing@posteo.net> |
| 33 | ;;; Copyright © 2022, 2023 Zheng Junjie <873216071@qq.com> | 33 | ;;; Copyright © 2022, 2023 Zheng Junjie <873216071@qq.com> |
| 34 | ;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 34 | ;;; Copyright © 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 35 | ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org> | 35 | ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org> |
| 36 | ;;; Copyright © 2023 Sughosha <Sughosha@proton.me> | 36 | ;;; Copyright © 2023 Sughosha <Sughosha@proton.me> |
| 37 | ;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com> | 37 | ;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com> |
| @@ -327,6 +327,28 @@ the @code{Clang/LLVM} infrastructure to extract the data, and emits it in | |||
| 327 | various formats, including @code{json}.") | 327 | various formats, including @code{json}.") |
| 328 | (license license:gpl2+))) | 328 | (license license:gpl2+))) |
| 329 | 329 | ||
| 330 | (define-public expected-lite | ||
| 331 | (package | ||
| 332 | (name "expected-lite") | ||
| 333 | (version "0.6.3") | ||
| 334 | (source (origin | ||
| 335 | (method git-fetch) | ||
| 336 | (uri (git-reference | ||
| 337 | (url "https://github.com/martinmoene/expected-lite") | ||
| 338 | (commit (string-append "v" version)))) | ||
| 339 | (file-name (git-file-name name version)) | ||
| 340 | (sha256 | ||
| 341 | (base32 | ||
| 342 | "0d58nqh2fwdzdpln2wlnf898wyfxdnskq6ff33azbg92d5ibzys2")))) | ||
| 343 | (build-system cmake-build-system) | ||
| 344 | (home-page "https://github.com/martinmoene/expected-lite") | ||
| 345 | (synopsis "Expected objects in C++11 and later") | ||
| 346 | (description "@i{expected lite} is a single-file header-only library for | ||
| 347 | objects that either represent a valid value or an error that can be passed by | ||
| 348 | value. It is intended for use with C++11 and later. The library is based on | ||
| 349 | the @code{std::expected} proposal (@url{http://wg21.link/p0323}).") | ||
| 350 | (license license:boost1.0))) | ||
| 351 | |||
| 330 | (define-public libzen | 352 | (define-public libzen |
| 331 | (package | 353 | (package |
| 332 | (name "libzen") | 354 | (name "libzen") |
