From d6119d8f49be6149c176f3de34a9e65cd7a20064 Mon Sep 17 00:00:00 2001 From: msglm Date: Thu, 19 Jun 2025 19:25:22 -0500 Subject: import guix-hpc amd modules and add gfx1100 support --- amd/packages/python-cppheaderparser.scm | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 amd/packages/python-cppheaderparser.scm (limited to 'amd/packages/python-cppheaderparser.scm') diff --git a/amd/packages/python-cppheaderparser.scm b/amd/packages/python-cppheaderparser.scm new file mode 100644 index 0000000..8c04bb4 --- /dev/null +++ b/amd/packages/python-cppheaderparser.scm @@ -0,0 +1,44 @@ +;;; Copyright © 2023 Advanced Micro Devices, Inc. +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (amd packages python-cppheaderparser) + #:use-module (guix packages) + #:use-module (guix build-system python) + #:use-module (guix download) + #:use-module (guix utils) + #:use-module (guix licenses) + + #:use-module (gnu packages python-xyz)) + +(define-public python-cppheaderparser + (package + (name "python-cppheaderparser") + (version "2.7.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "CppHeaderParser" version)) + (sha256 + (base32 "0hncwd9y5ayk8wa6bqhp551mcamcvh84h89ba3labc4mdm0k0arq")))) + (build-system python-build-system) + (propagated-inputs (list python-ply)) + (home-page "http://senexcanis.com/open-source/cppheaderparser/") + (synopsis + "Parse C++ header files and generate a data structure representing the class") + (description + "Parse C++ header files and generate a data structure representing the class") + (license bsd-3))) -- cgit v1.2.3