summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Heber <gerd.heber@gmail.com>2021-02-21 16:35:21 -0600
committerGuix Patches Tester <>2021-02-22 06:08:15 +0000
commit46b481388940f2d88bc4d34171a9f993f3d79f90 (patch)
tree2dc3e44c704bcda7a18e70c91e93a6db84cb701c
parentc53ee79c4ce187b185a070977f69ad9d4fb55179 (diff)
downloadguix-patches-46b481388940f2d88bc4d34171a9f993f3d79f90.tar
guix-patches-46b481388940f2d88bc4d34171a9f993f3d79f90.tar.gz
Added capstone 4.series-7087
-rw-r--r--gnu/packages/engineering.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 034dabc3f9..4987377840 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1495,6 +1495,31 @@ such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and xcore. It provides
bindings for Python, Java, OCaml and more.")
(license license:bsd-3)))
+(define-public capstone
+ (package
+ (name "capstone")
+ (version "4.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/aquynh/capstone"
+ "/archive/" version ".tar.gz"))
+ (sha256
+ (base32
+ "0sjjbqps48az4map0kmai7j7dak3gy0xcq0sgx8fg09g0acdg0bw"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:build-type "Release"
+ #:tests? #t))
+ (home-page "https://www.capstone-engine.org")
+ (synopsis "Lightweight multi-platform, multi-architecture disassembly framework")
+ (description
+ "Capstone is a lightweight multi-platform, multi-architecture disassembly
+framework. Capstone can disassemble machine code for many supported
+architectures such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and
+xcore. It provides bindings for Python, Java, OCaml and more.")
+ (license license:bsd-3)))
+
;; FIXME: This package has a timestamp embedded in
;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-35.pyc
(define-public python-capstone