diff options
author | Sören Tempel <soeren@soeren-tempel.net> | 2024-07-11 23:27:20 +0200 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-07-13 09:59:24 -0500 |
commit | 987ce3921e6293486084d47b5179af9a2101da81 (patch) | |
tree | 230ee823937effc885db5963b29149ea06c5bb50 | |
parent | 0fc16f1b0efce66a62a071ed9e5731a44b5cd323 (diff) | |
download | guix-987ce3921e6293486084d47b5179af9a2101da81.tar.gz guix-987ce3921e6293486084d47b5179af9a2101da81.zip |
gnu: Add python-cle.
* gnu/packages/python-xyz.scm (python-cle): New variable.
Signed-off-by: jgart <jgart@dismail.de>
-rw-r--r-- | gnu/packages/python-xyz.scm | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3c1aa72900..d6de1d3d8a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33791,6 +33791,32 @@ instructions up to AVX-512 and SHA (including 3dnow!+, XOP, FMA3, FMA4, TBM 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") @@ -33813,7 +33839,7 @@ and BMI2).") (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")))))) |