summaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-12-03 07:20:53 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-12-03 07:20:53 +0100
commit4c323c2f8308bba0e3295f3109d159c7b8f72838 (patch)
tree7064e51dfec301c660cc97d83ffa041e011baadd /gnu/packages/cpp.scm
parent260b054aeaa0739bed1637742b6094c97dab47f2 (diff)
parent06ebc45e15f2a1bd4526a5a716eed657c902a0c1 (diff)
Merge branch 'master' into HEAD
Change-Id: I3f5d121162d98ef2ae61a62c4da3b0fd19d864e8
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm41
1 files changed, 39 insertions, 2 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 49e5b52e5f..2b32a2becf 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1397,7 +1397,7 @@ standard GNU style syntax for options.")
(define-public folly
(package
(name "folly")
- (version "2022.10.31.00")
+ (version "2023.11.06.00")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1406,7 +1406,7 @@ standard GNU style syntax for options.")
(file-name (git-file-name name version))
(sha256
(base32
- "06r9xnj8ilghc0vv6r17k5apl3w19iwd76nr02svnv96c74bz2aa"))))
+ "0z0jhkma2qacc2kc27qsiwqwqkv07i9mwpc4vwcbawyzdajq6hd0"))))
(build-system cmake-build-system)
(arguments
'(;; Tests must be explicitly enabled
@@ -2802,6 +2802,43 @@ Main features:
@end itemize")
(license license:expat)))
+(define-public mapbox-variant
+ (package
+ (name "mapbox-variant")
+ (version "1.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mapbox/variant")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03cmxm34ralh8y07bs80gz3v4pql51206dn5h7lcnm7vishkk241"))
+ (modules '((guix build utils)))
+ (snippet #~(begin
+ (delete-file "test/include/catch.hpp")
+ (substitute* (find-files "test" "\\.[ch]pp")
+ (("\"catch.hpp\"") "<catch/catch.hpp>"))))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'bootstrap)
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (copy-recursively "include"
+ (string-append (assoc-ref outputs "out")
+ "/include")))))))
+ (native-inputs (list catch2-1))
+ (home-page "https://github.com/mapbox/variant")
+ (synopsis "Implementation of std::variant for C++11/14")
+ (description "This package provides a header-only implementation of
+std::variant (formerly boost::variant) for C++11/14.")
+ (license license:bsd-3)))
+
(define-public mpark-variant
(package
(name "mpark-variant")