summary refs log tree commit diff
path: root/gnu/packages/engineering.scm
diff options
context:
space:
mode:
authorpinoaffe@airmail.cc <pinoaffe@airmail.cc>2020-03-21 08:57:21 +0000
committerLudovic Courtès <ludo@gnu.org>2020-03-22 00:02:24 +0100
commitfcc10cb2cbde9c104d394167ba354b0c9f2cd752 (patch)
tree765f8497cabbfea488e6151416c81a8e74012cdf /gnu/packages/engineering.scm
parentf5e0634431819f753f5e20e6c8ddc310215d9051 (diff)
downloadguix-fcc10cb2cbde9c104d394167ba354b0c9f2cd752.tar.gz
gnu: radare2: Update to 4.2.1.
* gnu/packages/engineering.scm (radare2): Update to 4.2.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r--gnu/packages/engineering.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 6adb142ffb..04c83d0c78 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1309,14 +1309,16 @@ bindings for Python, Java, OCaml and more.")
 (define-public radare2
   (package
     (name "radare2")
-    (version "3.5.1")
+    (version "4.2.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://radare.mikelloc.com/get/" version "/"
-                                  "radare2-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/radareorg/radare2")
+                    (commit version)))
               (sha256
                (base32
-                "174x5545fw2nyf000gd46hi7rx2bn3bw5bsnvizn9yi99pn7m4mw"))
+                "14b9433cgc2nabhz836zfgvgh2dwailcmvy05krsa0inmzbvx9fg"))
+              (file-name (git-file-name name version))
               (modules '((guix build utils)))
               (snippet
                '(begin