[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63065] [PATCH 03/18] gnu: Add function2.
From: |
Sughosha |
Subject: |
[bug#63065] [PATCH 03/18] gnu: Add function2. |
Date: |
Tue, 25 Apr 2023 09:27:50 +0000 |
* gnu/packages/cpp.scm (function2): New variable.
---
gnu/packages/cpp.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 699d0cacb1..44d99b0724 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2006,6 +2006,36 @@ (define-public bitsery
(home-page "https://github.com/fraillt/bitsery")
(license license:expat)))
+(define-public function2
+ (package
+ (name "function2")
+ (version "4.2.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Naios/function2")
+ (commit version)))
+ (sha256
+ (base32
+ "1n5cgx3ab5ywad3hb350r6lg6h0sj5qph6r5cvdxmfk638pp3rlb"))))
+ (build-system cmake-build-system)
+ ;; TODO: Patch or substitute to detect system gtest.
+ (arguments
+ (list #:tests? #f ;No SOURCES given to target: gtest
+ #:configure-flags #~(list "-DBUILD_TESTING=OFF")))
+ ;; (native-inputs (list googletest))
+ (synopsis "Improved implementations of std::function")
+ (description "This package provides the following implementations of
+std::function:
+@itemize
+@item copyable fu2::function
+@item move-only fu2::unique_function (capable of holding move only types)
+@item non-owning fu2::function_view (capable of referencing callables in a non
+owning way)
+@end itemize")
+ (home-page "https://naios.github.io/function2/")
+ (license license:boost1.0)))
+
(define-public cpp-mustache
(package
(name "cpp-mustache")
--
2.39.2
- [bug#63065] [PATCH 0/18]: gnu: Add yabridgectl., Sughosha, 2023/04/25
- [bug#63065] [PATCH 01/18] gnu: asio: Update to 1.24.0., Sughosha, 2023/04/25
- [bug#63065] [PATCH 02/18] gnu: Add bitsery., Sughosha, 2023/04/25
- [bug#63065] [PATCH 03/18] gnu: Add function2.,
Sughosha <=
- [bug#63065] [PATCH 05/18] gnu: Add clap., Sughosha, 2023/04/25
- [bug#63065] [PATCH 04/18] gnu: Add tomlplusplus., Sughosha, 2023/04/25
- [bug#63065] [PATCH 06/18] gnu: Add vst3sdk., Sughosha, 2023/04/25
- [bug#63065] [PATCH 08/18] gnu: Add rust-scroll-derive-0.11., Sughosha, 2023/04/25
- [bug#63065] [PATCH 07/18] gnu: Add yabridge., Sughosha, 2023/04/25
- [bug#63065] [PATCH 09/18] gnu: Add rust-scroll-0.11., Sughosha, 2023/04/25
- [bug#63065] [PATCH 10/18] gnu: Add rust-goblin-0.6., Sughosha, 2023/04/25
- [bug#63065] [PATCH 11/18] gnu: rust-libloading-0.7: Update to 0.7.4., Sughosha, 2023/04/25
- [bug#63065] [PATCH 12/18] gnu: Add rust-rustyline-derive-0.6., Sughosha, 2023/04/25
- [bug#63065] [PATCH 13/18] gnu: rust-rustyline-9: Update to 9.1.2., Sughosha, 2023/04/25