[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69074] [PATCH v3 10/14] gnu: Add python-cle.
From: |
soeren |
Subject: |
[bug#69074] [PATCH v3 10/14] gnu: Add python-cle. |
Date: |
Thu, 4 Jul 2024 22:05:19 +0200 |
From: Sören Tempel <soeren@soeren-tempel.net>
* gnu/packages/python-xyz.scm (python-cle): New variable.
---
gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c1a9b04ec..e256a322e7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33805,6 +33805,32 @@ (define-public python-opcodes
and BMI2).")
(license license:bsd-2))))
+(define-public python-cle
+ (package
+ (name "python-cle")
+ ;; Must be the same version as python-angr.
+ (version "9.2.46")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cle" version))
+ (sha256
+ (base32 "0mswv9gd2p2ws7zfsshqv5ybbj27wkdwakdcknq4vsrx9ry9k4yc"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #f))
+ (propagated-inputs (list python-pefile python-pyelftools python-pyvex
+ python-sortedcontainers))
+ (native-inputs (list python-cffi))
+ (home-page "https://github.com/angr/cle")
+ (synopsis "Python loader for binaries and their associated libraries")
+ (description
+ "CLE loads binaries and their associated libraries, resolves
+imports and provides an abstraction of process memory the same way as if
+it was loader by the operating system's loader.")
+ (license license:bsd-2)))
+
(define-public python-pyvex
(package
(name "python-pyvex")
@@ -33827,7 +33853,7 @@ (define-public python-pyvex
(with-directory-excursion "tests"
(invoke "python" "-m" "unittest")))))
- (add-before 'build 'set-cc-native
+ (add-before 'build 'set-cc
(lambda _
(setenv "CC" #$(cc-for-target))
(setenv "CC_NATIVE" "gcc"))))))
- [bug#69074] [PATCH v3 02/14] gnu: Add python-keystone-engine., (continued)
- [bug#69074] [PATCH v3 02/14] gnu: Add python-keystone-engine., soeren, 2024/07/04
- [bug#69074] [PATCH v3 05/14] gnu: Add python-rpyc., soeren, 2024/07/04
- [bug#69074] [PATCH v3 03/14] gnu: Add python-mulpyplexer., soeren, 2024/07/04
- [bug#69074] [PATCH v3 04/14] gnu: Add python-nampa., soeren, 2024/07/04
- [bug#69074] [PATCH v3 08/14] gnu: Add python-archinfo., soeren, 2024/07/04
- [bug#69074] [PATCH v3 12/14] gnu: unicorn: Update to 2.0.1.post1., soeren, 2024/07/04
- [bug#69074] [PATCH v3 06/14] gnu: Add python-pysmt., soeren, 2024/07/04
- [bug#69074] [PATCH v3 13/14] gnu: capstone: Backport upstream fix for Python bindings., soeren, 2024/07/04
- [bug#69074] [PATCH v3 07/14] gnu: Add python-claripy., soeren, 2024/07/04
- [bug#69074] [PATCH v3 11/14] gnu: Add python-ailment., soeren, 2024/07/04
- [bug#69074] [PATCH v3 10/14] gnu: Add python-cle.,
soeren <=
- [bug#69074] [PATCH v3 09/14] gnu: Add python-pyvex., soeren, 2024/07/04
- [bug#69074] [PATCH v3 14/14] gnu: Add python-angr., soeren, 2024/07/04