gnu: Add libbacktrace.

* gnu/packages/debug.scm (libbacktrace): New variable.
This commit is contained in:
Maxim Cournoyer 2020-10-13 15:14:32 -04:00
parent 58af4c9621
commit 7e15ded647
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -624,6 +624,31 @@ (define-public rr
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")