guix-patches
[Top][All Lists]
Advanced

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

[bug#63991] [PATCH v3 1/3] gnu: Add rang.


From: Andy Tai
Subject: [bug#63991] [PATCH v3 1/3] gnu: Add rang.
Date: Mon, 3 Mar 2025 11:45:41 -0800

* gnu/packages/cpp.scm (rang): New variable.

Change-Id: Iacbea931d392579ebdc49965fc3b248ae3759a6c
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/cpp.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d6dc070756..8d482d1fbd 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -310,6 +310,27 @@ (define-public cpp-utilities
 parser, IO and conversion utilities.")
     (license license:gpl2+)))
 
+(define-public rang
+  (package
+    (name "rang")
+    (version "3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/agauniyal/rang";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0x2fp7zjjivgxblvx1j0qphn4ln6jq42x7xr757fywm3k03y7bil"))))
+    (build-system cmake-build-system)
+    (arguments (list #:tests? #f))      ; no tests
+    (home-page "https://agauniyal.github.io/rang/";)
+    (synopsis "Header only terminal C++ library")
+    (description
+     "Rang is a minimal, header only C++ library for terminal goodies.")
+    (license license:asl2.0)))
+
 (define-public range-v3
   (package
     (name "range-v3")
-- 
2.43.0






reply via email to

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