[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69074] [PATCH] gnu: Add python-itanium-demangle.
From: |
soeren |
Subject: |
[bug#69074] [PATCH] gnu: Add python-itanium-demangle. |
Date: |
Mon, 12 Feb 2024 15:58:16 +0100 |
From: Sören Tempel <soeren@soeren-tempel.net>
* gnu/packages/python-xyz.scm (python-itanium-demangle): New variable.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c68b17b0ab..e630bdb6a6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -146,6 +146,7 @@
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2023 Attila Lendvai <attila@lendvai.name>
;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright © 2024 Sören Tempel <soeren@soeren-tempel.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32302,6 +32303,36 @@ (define-public python-opcodes
and BMI2).")
(license license:bsd-2))))
+(define-public python-itanium-demangle
+ (package
+ (name "python-itanium-demangle")
+ (version "1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/whitequark/python-itanium_demangler")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q47aqm5z3db6pasdzw05d6236vnb8hnapfy88fcmn9dr5ym98r3"))))
+ (build-system pyproject-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "tests"
+ (invoke "python" "-m" "unittest"))))))))
+ (home-page "https://github.com/whitequark/python-itanium_demangler")
+ (synopsis "Pure Python Itanium C++ ABI demangler")
+ (description
+ "This Python module provides an implementation of the Itanium C++
+ABI symbol mangling language. The demangler generates an abstract
+syntax tree from mangled symbols, which can be used for directly
+extracting type information.")
+ (license license:bsd-0)))
+
(define-public python-peachpy
;; There is no tag in this repo.
(let ((commit "913d74c35a6b1d330e90bfc055208ce5b06b35a0")
- [bug#69074] [PATCH] Add python-angr., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-mulpyplexer., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-rpyc., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-itanium-demangle.,
soeren <=
- [bug#69074] [PATCH] gnu: Add python-nampa., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-keystone-engine., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-claripy., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-archinfo., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-pysmt., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: capstone: Backport upstream fix for Python bindings., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: unicorn: Update to 2.0.1.post1., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-angr., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-ailment., soeren, 2024/02/12
- [bug#69074] [PATCH] gnu: Add python-cle., soeren, 2024/02/12