guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 67aab9bb0f93593c2f4878d3ad72c49e1f5a420e
Author: David Elsing <[email protected]>
AuthorDate: Tue Feb 3 21:33:21 2026 +0100
gnu: Add functionalplus.
* gnu/packages/cpp.scm (functionalplus): New variable.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/cpp.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 484b06d850..f8c731e589 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -5019,3 +5019,31 @@ saving and loading C++ objects using a binary format.")
calculating integer division by using shift, add and multiply instructions.")
;; dual licensed
(license (list license:zlib license:boost1.0))))
+
+(define-public functionalplus
+ (package
+ (name "functionalplus")
+ (version "0.2.27")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Dobiasd/FunctionalPlus")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1my5npxj9fnm1lxpqnx5jpp7s278zjb9l06wdzjbg4f52z7rsm9f"))))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "test"))))))
+ (build-system cmake-build-system)
+ (native-inputs (list doctest-next))
+ (home-page "https://github.com/Dobiasd/FunctionalPlus")
+ (synopsis "Functional Programming Library for C++")
+ (description "@code{FunctionalPlus} is a header-only library for
+simplifying functional programming in C++.")
+ (license license:boost1.0)))