summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-02-07 19:57:53 +0100
committerCayetano Santos <csantosb@inventati.org>2026-02-07 20:02:59 +0100
commitfa6b510864828b618064ec9368c69e3a97965b45 (patch)
treedaa9cf5521be7b73aac57acd651133f88a84d368 /gnu
parent3a3533826b2c68872c7fb966b2b8bc141164ea37 (diff)
gnu: Add python-cxxheaderparser.
* gnu/packages/python-xyz.scm (python-cxxheaderparser): New variable. Change-Id: I3e9d07cf37bf0a6268371ac562074f42c9866ab6
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3a1b2d932b..b9229ef40d0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34976,6 +34976,29 @@ versa. Extended WKB/WKT are also supported.")
Python code as generators in your source files to generate arbitrary text.")
(license license:expat)))
+(define-public python-cxxheaderparser
+ (package
+ (name "python-cxxheaderparser")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/robotpy/cxxheaderparser")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x8bd8zffjg1cq9hgglr445582kyjw5qs6mq7n6k7n01ihhni3hs"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-hatch-vcs python-pytest))
+ (home-page "https://github.com/robotpy/cxxheaderparser/")
+ (synopsis "Python C++ header parser")
+ (description "Pure python C++ header parser that parses C++ headers in a
+mildly naive manner that allows it to handle many C constructs, including
+many (C++11 and beyond) features.")
+ (license license:bsd-3)))
+
(define-public python-bsdiff4
(package
(name "python-bsdiff4")