summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-11 08:33:15 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-11 08:35:11 +0100
commit35c283fdf3540e576c7dc63334a71d53b1475a12 (patch)
tree31f9d0ca0ff04c7646d69a1000edf16d4464823a /gnu
parenta8b375437729d17673e4959dd55cb6cb34ca6bba (diff)
gnu: ropgadget: Update to 7.6.
* gnu/packages/cybersecurity.scm (ropgadget): Update to 7.6. [build-system]: Switch to pyproject-build-system. [arguments] <tests?>: No test data in PyPI archive. <phases>: Use custom 'check. [native-inputs]: Add python-setuptools. Change-Id: Iaa2cb856c35df4e263f1b72d048b705325f4c411
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cybersecurity.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/cybersecurity.scm b/gnu/packages/cybersecurity.scm
index bb826d482e9..a5e6fa27126 100644
--- a/gnu/packages/cybersecurity.scm
+++ b/gnu/packages/cybersecurity.scm
@@ -161,14 +161,28 @@ from a single ECU up to whole cars.")
(define-public ropgadget
(package
(name "ropgadget")
- (version "6.6")
+ (version "7.6")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "ROPGadget" version))
+ (uri (pypi-uri "ropgadget" version))
(sha256
- (base32 "08ms7x4af07970ij9899l75sghnxsa7xyx73gkn6gv0l05p1hqfw"))))
- (build-system python-build-system)
+ (base32 "1hvl25j3fbiwihqa2p8a5i27h97pgspxp2ndwwn3l1r78r7cb0w8"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; TODO PyPI lack test data, Git provides a collection of binaries for
+ ;; the tests.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "test-suite-binaries"
+ (invoke "./test.sh"))))))))
+ (native-inputs
+ (list python-setuptools))
(propagated-inputs
(list python-capstone))
(home-page "https://shell-storm.org/project/ROPgadget/")