apteryx pushed a commit to branch master
in repository guix.
commit 0bca6c03098fba7f98b7050badd52f783b3dff0c
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Nov 6 00:13:56 2024 +0100
gnu: unicorn: Update to 2.1.1. [security fixes]
Thix fixes CVE-2021-4296.
* gnu/packages/emulators.scm (unicorn): Update to 2.1.1.
Signed-off-by: Maxim Cournoyer <[email protected]>
---
gnu/packages/emulators.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index f0a60c0b49..948e588c4c 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -3508,13 +3508,18 @@ graphic filters. Some of its features include:
(define-public unicorn
(package
(name "unicorn")
- (version "2.0.1.post1")
+ (version "2.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri name version))
(sha256
- (base32 "0mlfs8qfi0clyncfkbxp6in0cpl747510i6bqymwid43xcirbikz"))))
+ (base32 "18sbrycr62wcs3a68a9q76ihpahfsd4bn3mryvyhimwwn1342kwh"))
+ (modules '((guix build utils)))
+ ;; cmake files are not in the cmake dir in pypi
+ (snippet #~(substitute* "src/CMakeLists.txt"
+ (("include\\(cmake/")
+ "include(")))))
(build-system pyproject-build-system)
(native-inputs (list cmake pkg-config))
(home-page "https://www.unicorn-engine.org")