guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#46816] [PATCH Added capstone 4.] gnu: capstone: Update to 4.0.2.


From: Gerd Heber
Subject: [bug#46816] [PATCH Added capstone 4.] gnu: capstone: Update to 4.0.2.
Date: Sat, 27 Feb 2021 11:25:45 -0600

---
 gnu/packages/engineering.scm | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 4987377840..367e139aff 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1501,23 +1501,24 @@ bindings for Python, Java, OCaml and more.")
    (version "4.0.2")
    (source
     (origin
-     (method url-fetch)
-     (uri (string-append "https://github.com/aquynh/capstone";
-                         "/archive/" version ".tar.gz"))
+      (method git-fetch)
+      (uri (git-reference
+             (url "https://github.com/aquynh/capstone";)
+             (commit version)))
+     (file-name (git-file-name name version))
      (sha256
       (base32
-       "0sjjbqps48az4map0kmai7j7dak3gy0xcq0sgx8fg09g0acdg0bw"))))
+       "0y5g74yjyliciawpn16zhdwya7bd3d7b1cccpcccc2wg8vni1k2w"))))
    (build-system cmake-build-system)
    (arguments
-    `(#:build-type "Release"
-      #:tests? #t))
+    `(#:build-type "Release"))
    (home-page "https://www.capstone-engine.org";)
-   (synopsis "Lightweight multi-platform, multi-architecture disassembly 
framework")
+   (synopsis "Lightweight 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.")
+    "Capstone is a lightweight 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
-- 
2.30.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]