guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add libbacktrace.


From: guix-commits
Subject: 01/03: gnu: Add libbacktrace.
Date: Tue, 13 Oct 2020 22:28:23 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 7e15ded6474bf3096f01fcd830337d66cb682669
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Oct 13 15:14:32 2020 -0400

    gnu: Add libbacktrace.
    
    * gnu/packages/debug.scm (libbacktrace): New variable.
---
 gnu/packages/debug.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index 2f58f8e..b55a401 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -624,6 +624,31 @@ GDB/x86 features like hardware data watchpoints, makes 
debugging much more
 fun.")
     (license license:expat)))
 
+(define-public libbacktrace
+  ;; There are no releases nor tags.
+  (let ((revision "1")
+        (commit "5009c113981431ae1843ebd29d6ad24eb32fc1b2"))
+    (package
+      (name "libbacktrace")
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/ianlancetaylor/libbacktrace";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0663zjpfpnsyv9h3pbp7cgmg9gz79n68bqpdl97y6i0jsx93v1zg"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:make-flags '("CFLAGS=-fPIC")))
+      (home-page "https://github.com/ianlancetaylor/libbacktrace";)
+      (synopsis "C library for producing symbolic backtraces")
+      (description "The @code{libbacktrace} library can be linked into a C/C++
+program to produce symbolic backtraces.")
+      (license license:expat))))
+
 (define-public mspdebug
   (package
     (name "mspdebug")



reply via email to

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