remove pushed radare2
more/packages/binary.scm
| 457 | 457 | applicable to a variety of tasks.") | |
| 458 | 458 | (license license:bsd-2))) | |
| 459 | 459 | ||
| 460 | - | (define-public radare2 | |
| 461 | - | (package | |
| 462 | - | (name "radare2") | |
| 463 | - | (version "1.6.0") | |
| 464 | - | (source (origin | |
| 465 | - | (method url-fetch) | |
| 466 | - | (uri (string-append "http://radare.mikelloc.com/get/" version "/" | |
| 467 | - | name "-" version ".tar.gz")) | |
| 468 | - | (sha256 | |
| 469 | - | (base32 | |
| 470 | - | "16ggsk40zz6hyvclvqj1r4bh4hb78jf0d6ppry1jk4r0j30wm7cm")) | |
| 471 | - | (modules '((guix build utils))) | |
| 472 | - | (snippet | |
| 473 | - | '(begin | |
| 474 | - | (substitute* "libr/asm/p/Makefile" | |
| 475 | - | (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) | |
| 476 | - | (substitute* "libr/parse/p/Makefile" | |
| 477 | - | (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")) | |
| 478 | - | (substitute* "libr/bin/p/Makefile" | |
| 479 | - | (("LDFLAGS\\+=") "LDFLAGS+=-Wl,-rpath=$(LIBDIR) ")))))) | |
| 480 | - | (build-system gnu-build-system) | |
| 481 | - | (arguments | |
| 482 | - | '(#:tests? #f | |
| 483 | - | #:phases | |
| 484 | - | (modify-phases %standard-phases | |
| 485 | - | (add-before 'configure 'mklibdir | |
| 486 | - | (lambda* (#:key inputs #:allow-other-keys) | |
| 487 | - | (mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))))) | |
| 488 | - | #:configure-flags | |
| 489 | - | (list "--with-sysmagic" "--with-syszip" "--with-openssl" | |
| 490 | - | "--without-nonpic" "--with-rpath" "--with-syscapstone") | |
| 491 | - | #:make-flags | |
| 492 | - | (list "CC=gcc"))) | |
| 493 | - | (inputs | |
| 494 | - | `(("openssl" ,openssl) | |
| 495 | - | ("zip" ,zip) | |
| 496 | - | ("gmp" ,gmp) | |
| 497 | - | ("capstone" ,capstone))) | |
| 498 | - | (native-inputs | |
| 499 | - | `(("pkg-config" ,pkg-config))) | |
| 500 | - | (home-page "https://rada.re/") | |
| 501 | - | (synopsis "Binary analysis tool") | |
| 502 | - | (description | |
| 503 | - | "Radare2 is a tool for reversing binaries.") | |
| 504 | - | (license license:gpl3+))) | |
| 505 | - | ||
| 506 | 460 | (define-public sandsifter | |
| 507 | 461 | (package | |
| 508 | 462 | (name "sandsifter") |