[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/242: gnu: Add python-pcpp.
From: |
guix-commits |
Subject: |
19/242: gnu: Add python-pcpp. |
Date: |
Thu, 12 May 2022 14:14:00 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit dcd97606a3afba2cf72d2cecd87ecac36cfb4e36
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 2680fe63f0..e14e56ad71 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -38,6 +38,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)
@@ -144,6 +145,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")
- 190/242: gnu: python-mkdocs: Update to 1.3.0., (continued)
- 190/242: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/05/12
- 199/242: gnu: weasyprint: Update to 54.3., guix-commits, 2022/05/12
- 211/242: gnu: python2-sqlalchemy: Skip a failing test., guix-commits, 2022/05/12
- 217/242: gnu: python-sphinx-click: Update to 4.0.3 and enable tests., guix-commits, 2022/05/12
- 224/242: gnu: python-sphinx-autodoc-typehints: Update to 1.18.1., guix-commits, 2022/05/12
- 222/242: gnu: Add python-beartype., guix-commits, 2022/05/12
- 225/242: gnu: python-sphinxext-opengraph: Update to 0.6.3., guix-commits, 2022/05/12
- 226/242: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/05/12
- 57/242: gnu: Add python-pip-run., guix-commits, 2022/05/12
- 10/242: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/05/12
- 19/242: gnu: Add python-pcpp.,
guix-commits <=
- 36/242: gnu: Add python-types-toml., guix-commits, 2022/05/12
- 45/242: gnu: Add python-path-bootstrap., guix-commits, 2022/05/12
- 58/242: gnu: Add python-tempora., guix-commits, 2022/05/12
- 75/242: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/05/12
- 81/242: gnu: Add python-skia-pathops., guix-commits, 2022/05/12
- 92/242: gnu: Add python-untangle., guix-commits, 2022/05/12
- 107/242: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/05/12
- 84/242: gnu: Add python-ufo2ft., guix-commits, 2022/05/12
- 80/242: gnu: Add skia., guix-commits, 2022/05/12
- 99/242: gnu: Add python-pytest-forked-next., guix-commits, 2022/05/12