unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74257] [PATCH] gnu: Add udis86.
@ 2024-11-08 12:38 Sisiutl
  2024-12-08  8:29 ` bug#74257: " Hilton Chain
  0 siblings, 1 reply; 2+ messages in thread
From: Sisiutl @ 2024-11-08 12:38 UTC (permalink / raw)
  To: 74257; +Cc: Sisiutl

* gnu/packages/assembly.scm (udis86): New variable.

Change-Id: I63dd160b704428536cf1282616a6615658a39e22
---
 gnu/packages/assembly.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 75cb7de999..3ffd0e8042 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -787,3 +787,35 @@ (define-public blinkenlights
 software changes memory.  It can emulate statically-linked i8086 and
 x86_64-pc-linux-gnu programs.")
     (license license:isc)))
+
+(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))))
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74257: [PATCH] gnu: Add udis86.
  2024-11-08 12:38 [bug#74257] [PATCH] gnu: Add udis86 Sisiutl
@ 2024-12-08  8:29 ` Hilton Chain
  0 siblings, 0 replies; 2+ messages in thread
From: Hilton Chain @ 2024-12-08  8:29 UTC (permalink / raw)
  To: Sisiutl; +Cc: 74257-close

Hi Sisiutl,

On Fri, 08 Nov 2024 20:38:00 +0800,
Sisiutl wrote:
>
> * gnu/packages/assembly.scm (udis86): New variable.
>
> Change-Id: I63dd160b704428536cf1282616a6615658a39e22
> ---
>  gnu/packages/assembly.scm | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)

A different patch for adding udis86 has been applied in
28e2e185aeecaf01f6b4591048f26dfc690a6eb9.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-08 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 12:38 [bug#74257] [PATCH] gnu: Add udis86 Sisiutl
2024-12-08  8:29 ` bug#74257: " Hilton Chain

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).