gnu: libx86emu: Format with 'guix style'.
* gnu/packages/virtualization.scm (libx86emu): Adjust package formatting with 'guix style'.
parent
7ba1626113
commit
8258e88878
|
@ -596,20 +596,16 @@ server and embedded PowerPC, and S390 guests.")
|
|||
(name "libx86emu")
|
||||
(version "3.5")
|
||||
(home-page "https://github.com/wfeldt/libx86emu")
|
||||
(source
|
||||
(origin
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
(uri (git-reference
|
||||
(url home-page)
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "11nj3y7maz9ch15b1c2b69gd8d7mpaha377zpdbvfsmg5w9zz93l"))
|
||||
(modules
|
||||
'((guix build utils)))
|
||||
(snippet
|
||||
`(begin
|
||||
(modules '((guix build utils)))
|
||||
(snippet `(begin
|
||||
;; Remove git2log program file.
|
||||
(delete-file "git2log")
|
||||
;; Remove variables that depends on git2log.
|
||||
|
@ -623,8 +619,7 @@ server and embedded PowerPC, and S390 guests.")
|
|||
;; sys/io.h is not present from glibc on non-x86 systems.
|
||||
#:tests? ,(and (target-x86?)
|
||||
(not (%current-target-system)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
@ -642,12 +637,13 @@ server and embedded PowerPC, and S390 guests.")
|
|||
,(version-major version) "\n"))
|
||||
(("LIBDIR.*=.*$")
|
||||
(string-append "LIBDIR = " lib "\n"))
|
||||
(("/usr/include") include)))))
|
||||
(("/usr/include")
|
||||
include)))))
|
||||
(delete 'configure)))) ;no configure script
|
||||
(native-inputs
|
||||
(list nasm perl))
|
||||
(native-inputs (list nasm perl))
|
||||
(synopsis "Library for x86 emulation")
|
||||
(description "Libx86emu is a small library to emulate x86 instructions. The
|
||||
(description
|
||||
"Libx86emu is a small library to emulate x86 instructions. The
|
||||
focus here is not a complete emulation but to cover enough for typical
|
||||
firmware blobs. You can
|
||||
@enumerate
|
||||
|
|
Reference in New Issue