guix-patches
[Top][All Lists]
Advanced

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

[bug#72569] [PATCH 1/4] gnu: Add backward-cpp.


From: Adam Faiz
Subject: [bug#72569] [PATCH 1/4] gnu: Add backward-cpp.
Date: Sun, 11 Aug 2024 13:16:04 +0800

>From edcd1203111fe557c22e4b9053d0dcf6cc690794 Mon Sep 17 00:00:00 2001
Message-ID: 
<edcd1203111fe557c22e4b9053d0dcf6cc690794.1723353069.git.adam.faiz@disroot.org>
In-Reply-To: <cover.1723353069.git.adam.faiz@disroot.org>
References: <cover.1723353069.git.adam.faiz@disroot.org>
From: AwesomeAdam54321 <adam.faiz@disroot.org>
Date: Sun, 11 Aug 2024 08:40:08 +0800
Subject: [PATCH 1/4] gnu: Add backward-cpp.

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

diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index 2cdf87e266..4e652ba94d 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -513,6 +513,32 @@ (define-public qemu-for-american-fuzzy-lop
     ;; Several tests fail on MIPS.
     (supported-systems (delete "mips64el-linux" %supported-systems))))))
 
+(define-public backward-cpp
+  (package
+    (name "backward-cpp")
+    (version "1.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/bombela/backward-cpp";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1b2h03iwfhcsg8i4f125mlrjf8l1y7qsr2gsbkv0z03i067lykns"))))
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "-DBACKWARD_SHARED=ON")))
+    (build-system cmake-build-system)
+    (inputs
+     (list libiberty zlib))
+    (synopsis "Stack trace pretty printer for C++")
+    (description
+     "Backward-cpp is a stack trace pretty printer for C++.")
+    (home-page "https://github.com/bombela/backward-cpp";)
+    (license license:expat)))
+
 (define-public aflplusplus
   (package
     (inherit american-fuzzy-lop)
-- 
2.41.0





reply via email to

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