summaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f9a1d073223..7167adb98ad 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1091,6 +1091,33 @@ compatible with C++11, but will use newer language features if they are
1091available.") 1091available.")
1092 (license license:boost1.0)))) 1092 (license license:boost1.0))))
1093 1093
1094(define-public splice
1095 (package
1096 (name "splice")
1097 (version "0.2.0")
1098 (source
1099 (origin
1100 (method git-fetch)
1101 (uri (git-reference
1102 (url "https://github.com/FloofyPlasma/splice")
1103 (commit (string-append "v" version))))
1104 (file-name (git-file-name name version))
1105 (sha256
1106 (base32 "11g3g8zjq612lfxnk8yfyv5rm7s7cvhrjq5prqyix1lsdrfkq5r8"))))
1107 (build-system cmake-build-system)
1108 (arguments
1109 (list
1110 #:configure-flags
1111 #~(list "-DSPLICE_BUILD_TESTS=ON")))
1112 (native-inputs (list catch2 gcc-16))
1113 (home-page "https://github.com/FloofyPlasma/splice")
1114 (synopsis "Header-only C++26 reflection-based hook and mixin library")
1115 (description
1116 "Splice is a header-only C++26 hook and mixin library powered by static
1117reflection. Splice lets you register before, after, and return hooks on
1118annotated class methods at runtime, with zero overhead for unannotated code.")
1119 (license license:expat)))
1120
1094(define-public google-highway 1121(define-public google-highway
1095 (package 1122 (package
1096 (name "google-highway") 1123 (name "google-highway")