gnu: Add emacs-cpreproc.

* gnu/packages/emacs-xyz.scm (emacs-cpreproc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Fredrik Salomonsson 2022-04-09 20:42:10 +00:00 committed by Ludovic Courtès
parent ed2e797750
commit cd5c31d192
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -74,7 +74,7 @@
;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com> ;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl> ;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl>
;;; Copyright © 2020 Fredrik Salomonsson <plattfot@gmail.com> ;;; Copyright © 2020, 2022 Fredrik Salomonsson <plattfot@posteo.net>
;;; Copyright © 2020 Eric Bavier <bavier@posteo.net> ;;; Copyright © 2020 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com> ;;; Copyright © 2020, 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com> ;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com>
@ -22098,6 +22098,29 @@ Pandoc, the document-conversion tool.")
and @code{C++} files through the @code{ccls} language server.") and @code{C++} files through the @code{ccls} language server.")
(license license:expat)))) (license license:expat))))
(define-public emacs-cpreproc
(package
(name "emacs-cpreproc")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~plattfot/cpreproc")
(commit version)))
(sha256
(base32
"0n4lhj9bbnkbzvifrj9q6z3j7z6jqzkaa36y239cfxdcc7i86c1c"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
(home-page "https://sr.ht/~plattfot/cpreproc")
(synopsis "Wrap C/C++ code in preprocessor macros")
(description
"Aim for this project is to make it easier to generate preprocessor macros
from Emacs for C/C++ code that needs to be build against multiple incompatible
versions of third party libraries or @code{C++} standards.")
(license license:gpl3+)))
(define-public emacs-org-brain (define-public emacs-org-brain
(package (package
(name "emacs-org-brain") (name "emacs-org-brain")