summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSughosha <sughosha@proton.me>2023-02-02 12:08:13 +0100
committerLudovic Courtès <ludo@gnu.org>2023-02-11 00:09:40 +0100
commita404f5b64067d175410714a9a6819c8de3b4cd4a (patch)
tree4d8cbdf458204e0b971cac1940ff6f12b918ff36 /gnu/packages
parenta89aa4523befd8c30d9f13800b4833abbc911ba1 (diff)
downloadguix-a404f5b64067d175410714a9a6819c8de3b4cd4a.tar.gz
gnu: Add mcpp.
* gnu/packages/cpp.scm (mcpp): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cpp.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 6fa4c0f7a0..ed6ae69198 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1428,6 +1428,27 @@ queues header library based on circular buffer with @code{std::atomic}.")
 conversions to and from strings, iteration and related functionality.")
     (license license:expat)))
 
+(define-public mcpp
+  (package
+    (name "mcpp")
+    (version "2.7.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/mcpp/mcpp/"
+                                  "V." version "/mcpp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags #~(list "--enable-mcpplib" "--disable-static")))
+    (home-page "https://mcpp.sourceforge.net/")
+    (synopsis "C/C++ preprocessor")
+    (description
+     "@code{mcpp} is Matsui's CPP implementation precisely conformed to
+standards.")
+    (license license:bsd-2)))
+
 (define-public cli11
   (package
     (name "cli11")