guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#63765] [PATCH v3 7/8] gnu: Add frozen.


From: Hilton Chain
Subject: [bug#63765] [PATCH v3 7/8] gnu: Add frozen.
Date: Fri, 23 Jun 2023 14:24:48 +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 39a34c20dd..63ac700760 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 "f6dbec6d03debc68d18ae3e2d32ff408c6d52468")
+        (revision "7"))
+    (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
+                  "1yzxj8ia8fbdikb4hh4bc2iyr1fnl9cjllv8xgilzaivgiv7xmjk"))))
+      (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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]