gnu: Add backward-cpp.

* gnu/packages/debug.scm (backward-cpp): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Adam Faiz 2024-08-28 23:25:42 +08:00 committed by Liliana Marie Prikler
parent b8327cb311
commit 9ea5ec1b8c
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -567,6 +567,33 @@ (define-public aflplusplus
redqueen, AFLfast++ power schedules, MOpt mutators, unicorn_mode, etc.
@end itemize")))
(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++.
It can print annotated stack traces using debug info in the executable.")
(home-page "https://github.com/bombela/backward-cpp")
(license license:expat)))
(define-public stress-make
(let ((commit "97815bed8060de33952475b3498767c91f59ffd9")
(revision "2")) ;No official source distribution