[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/166: gnu: Add python-pcpp.
From: |
guix-commits |
Subject: |
19/166: gnu: Add python-pcpp. |
Date: |
Tue, 19 Apr 2022 09:12:11 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 016d9e10a5455285968efcdccf7aaea70d4c697d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 1 14:10:55 2022 -0400
gnu: Add python-pcpp.
* gnu/packages/c.scm (python-pcpp): New variable.
---
gnu/packages/c.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index d545d98938..8f5dce9c44 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -37,6 +37,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (guix store)
#:use-module (gnu packages)
@@ -143,6 +144,37 @@ compiler while still keeping it small, simple, fast and
understandable.")
;; preferred. See http://pcc.ludd.ltu.se/licenses/ for more details.
(license (list license:bsd-2 license:bsd-3))))
+(define-public python-pcpp
+ (package
+ (name "python-pcpp")
+ (version "1.30")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ned14/pcpp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1rihvlg11nzk70kfzz4i3gi5izcy46w05ismcx04p5j1hlim0brb"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'unbundle-ply
+ (lambda _
+ (rmdir "pcpp/ply")
+ (substitute* "setup.py"
+ (("'pcpp/ply/ply'") "")))))))
+ (native-inputs (list python-pytest))
+ (propagated-inputs (list python-ply))
+ (home-page "https://github.com/ned14/pcpp")
+ (synopsis "C99 preprocessor written in Python")
+ (description "This package provides a C99 preprocessor written in pure
+Python.")
+ (license license:bsd-3)))
+
(define-public libbytesize
(package
(name "libbytesize")
- 02/166: gnu: python-astroid: Propagate python-typing-extensions., (continued)
- 02/166: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/04/19
- 05/166: gnu: Add python-littleutils., guix-commits, 2022/04/19
- 06/166: gnu: Add python-stack-data., guix-commits, 2022/04/19
- 08/166: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/04/19
- 11/166: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/04/19
- 14/166: gnu: Add texlive-metalogo., guix-commits, 2022/04/19
- 13/166: gnu: Add texlive-stix2-otf., guix-commits, 2022/04/19
- 09/166: gnu: python-prompt-toolkit: Update to 3.0.29., guix-commits, 2022/04/19
- 10/166: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/04/19
- 85/166: gnu: Add python-sfdlib., guix-commits, 2022/04/19
- 19/166: gnu: Add python-pcpp.,
guix-commits <=
- 74/166: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/19
- 12/166: gnu: Add texlive-paralist., guix-commits, 2022/04/19
- 29/166: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/19
- 49/166: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/19
- 28/166: gnu: Add python-booleanoperations., guix-commits, 2022/04/19
- 45/166: gnu: Add python-path-bootstrap., guix-commits, 2022/04/19
- 16/166: gnu: Add texlive-csplain., guix-commits, 2022/04/19
- 83/166: gnu: Add python-compreffor., guix-commits, 2022/04/19
- 18/166: gnu: Add texlive-zref., guix-commits, 2022/04/19
- 76/166: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/19