Subject: [PATCH] gnu: Add cpputilities
From: Franz Geffke <[email-masked]>
To: [email-masked]
Date: Fri, 5 May 2023 11:24:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 023d1c0337..c9718e16fc 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2478,3 +2478,23 @@ (define-public ftxui
  @item No dependencies.
  @end itemize")
      (license license:expat)))
+
+(define-public cpputilities
+  (package
+    (name "cpputilities")
+    (version "5.22.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/Martchus/cpp-utilities/archive/refs/tags/v"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "18mbzw8w0a4l5r0w1fr200m4v8ww65r838618z19v1ymz6aahs7a"))))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/Martchus/cpp-utilities/")
+    (synopsis "Useful C++ classes and routines")
+    (description "Useful C++ classes and routines such as
+argument parser, IO and conversion utilities.")
+    (license license:gpl2+)))