diff options
| -rw-r--r-- | gnu/packages/elf.scm | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 8cc2ff36376..cb9393eab09 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm | |||
| @@ -30,8 +30,9 @@ | |||
| 30 | #:use-module (guix utils) | 30 | #:use-module (guix utils) |
| 31 | #:use-module (guix packages) | 31 | #:use-module (guix packages) |
| 32 | #:use-module (guix download) | 32 | #:use-module (guix download) |
| 33 | #:use-module (guix git-download) | ||
| 33 | #:use-module (guix build-system gnu) | 34 | #:use-module (guix build-system gnu) |
| 34 | #:use-module ((guix licenses) #:select (gpl3+ lgpl3+ lgpl2.0+)) | 35 | #:use-module ((guix licenses) #:select (gpl3+ lgpl3+ lgpl2.0+ lgpl2.1 gpl2 bsd-2)) |
| 35 | #:use-module (gnu packages) | 36 | #:use-module (gnu packages) |
| 36 | #:use-module (gnu packages autotools) | 37 | #:use-module (gnu packages autotools) |
| 37 | #:use-module (gnu packages compression) | 38 | #:use-module (gnu packages compression) |
| @@ -282,3 +283,31 @@ changed.") | |||
| 282 | (properties | 283 | (properties |
| 283 | '((release-monitoring-url . "https://github.com/NixOS/patchelf/releases"))) | 284 | '((release-monitoring-url . "https://github.com/NixOS/patchelf/releases"))) |
| 284 | (license gpl3+))) | 285 | (license gpl3+))) |
| 286 | |||
| 287 | (define-public libdwarf | ||
| 288 | (package | ||
| 289 | (name "libdwarf") | ||
| 290 | (version "0.5.0") | ||
| 291 | (source (origin | ||
| 292 | (method git-fetch) | ||
| 293 | ;; The archive at | ||
| 294 | ;; https://www.prevanders.net/libdwarf-0.5.0.tar.xz | ||
| 295 | ;; has a bad date header (3600). | ||
| 296 | (uri (git-reference | ||
| 297 | (url "https://github.com/davea42/libdwarf-code") | ||
| 298 | (commit (string-append "v" version)))) | ||
| 299 | (file-name (git-file-name name version)) | ||
| 300 | (sha256 | ||
| 301 | (base32 | ||
| 302 | "17sgjxx666nxvxn3g1xc8fj0b89jazq9v8ddp3j3ck0r257ki8n2")))) | ||
| 303 | (build-system gnu-build-system) | ||
| 304 | (arguments | ||
| 305 | '(#:configure-flags '("--enable-shared"))) | ||
| 306 | (native-inputs (list autoconf automake libtool pkg-config python)) | ||
| 307 | (inputs (list elfutils)) | ||
| 308 | (home-page "https://www.prevanders.net/dwarf.html") | ||
| 309 | (synopsis "Handle DWARF debugging information") | ||
| 310 | (description "@code{libdwarf} is a library that handles the DWARF | ||
| 311 | debugging information format.") | ||
| 312 | ;; See https://www.prevanders.net/dwarflicense.html: | ||
| 313 | (license (list lgpl2.1 gpl2 bsd-2)))) | ||
