diff options
Diffstat (limited to 'sigils/packages/upstream.scm')
-rw-r--r-- | sigils/packages/upstream.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sigils/packages/upstream.scm b/sigils/packages/upstream.scm index c08548f..9181c58 100644 --- a/sigils/packages/upstream.scm +++ b/sigils/packages/upstream.scm @@ -144,3 +144,35 @@ information such as the command that it would use, the detected MIME-type, etc." (lambda _ (substitute* "tests/CMakeLists.txt" (("/etc/dbus-1/system.d") "/tmp"))))))))) + +(define-public udis86 + (let ((commit "5336633af70f3917760a6d441ff02d93477b0c86") + (revision "1")) + (package + (name "udis86") + (version (git-version "1.7.2" revision commit)) + (home-page "http://udis86.sourceforge.net/") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/canihavesomecoffee/udis86.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y5z1169wff578jylpafsww4px4y6gickhcs885a9c660d8xs9qy")))) + (build-system gnu-build-system) + (native-inputs (list pkg-config + autoconf + automake + libtool + python)) + (arguments + (list #:configure-flags + #~(list "--enable-shared" + (string-append "--with-python=" + #$(file-append python "/bin/python3"))))) + (synopsis "Disassembler Library for x86 and x86-64") + (description "Udis86 is a disassembler for the x86 and x86-64 class of +instruction set architectures.") + (license license:bsd-2)))) |