Subject: [PATCH v4 5/6] gnu: Add frozen.

From: Hilton Chain <[email-masked]>
Date: Thu, 29 Jun 2023 02:35:05 +0800

* gnu/packages/cpp.scm (frozen): New variable.
---
 gnu/packages/cpp.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d61bcd25fd..b80939183c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -567,6 +567,29 @@ (define-public fifo-map
 as ordering relation.")
     (license license:expat)))
 
+(define-public frozen
+  (let ((commit "5af40b3f9e03116aa2de4d55b53b9629e5988480")
+        (revision "8"))
+    (package
+      (name "frozen")
+      (version (git-version "1.1.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/serge-sans-paille/frozen")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "02snxdfmrzcqwnkazhlagsfamr3mcg10iskpz5l8yscckzvyhzfs"))))
+      (build-system cmake-build-system)
+      (home-page "https://github.com/serge-sans-paille/frozen")
+      (synopsis "Header-only, constexpr alternative to gperf for C++14 users")
+      (description
+       "Frozen is a header-only library that provides 0 cost initialization
+for immutable containers, fixed-size containers, and various algorithms.")
+      (license license:asl2.0))))
+
 (define-public json-dto
   (package
     (name "json-dto")
-- 
2.40.1