guix: remove lief

This commit is contained in:
tobtoht 2023-03-30 10:29:59 +02:00
parent 5c6121add1
commit 04725a6a7c
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -223,40 +223,6 @@ chain for " target " development."))
(search-our-patches "nsis-gcc-10-memmove.patch" (search-our-patches "nsis-gcc-10-memmove.patch"
"nsis-disable-installer-reloc.patch"))) "nsis-disable-installer-reloc.patch")))
(define (fix-ppc64-nx-default lief)
(package-with-extra-patches lief
(search-our-patches "lief-fix-ppc64-nx-default.patch")))
(define-public lief
(package
(name "python-lief")
(version "0.12.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lief-project/LIEF.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1xzbh3bxy4rw1yamnx68da1v5s56ay4g081cyamv67256g0qy2i1"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'parallel-jobs
;; build with multiple cores
(lambda _
(substitute* "setup.py" (("self.parallel if self.parallel else 1") (number->string (parallel-job-count)))))))))
(native-inputs
`(("cmake" ,cmake)))
(home-page "https://github.com/lief-project/LIEF")
(synopsis "Library to Instrument Executable Formats")
(description "Python library to to provide a cross platform library which can
parse, modify and abstract ELF, PE and MachO formats.")
(license license:asl2.0)))
(define (make-glibc-without-werror glibc) (define (make-glibc-without-werror glibc)
(package-with-extra-configure-variable glibc "enable_werror" "no")) (package-with-extra-configure-variable glibc "enable_werror" "no"))
@ -363,8 +329,6 @@ parse, modify and abstract ELF, PE and MachO formats.")
python-3 python-3
;; Git ;; Git
git git
;; Tests
lief
;; Xcb ;; Xcb
xcb-util xcb-util
xcb-util-cursor xcb-util-cursor