unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Ziltener via Guix-patches via <guix-patches@gnu.org>
To: 70397@debbugs.gnu.org
Cc: dziltener@lyrion.ch
Subject: [bug#70397] [PATCH] gnu: cppdap: Add cppdap to debug.scm.
Date: Mon, 15 Apr 2024 16:23:09 +0200	[thread overview]
Message-ID: <922b1372b2b1e8b1ea642fe85d33e9fd@lyrion.ch> (raw)

---
 gnu/packages/debug.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index 6d4567acc4..7865dc32f4 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -185,6 +185,37 @@ (define-public c-reduce
 tools that process C/C++ code.")
     (license license:ncsa)))
 
+(define-public cppdap
+  (package
+    (name "cppdap")
+    (version "1.58.0-a")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/google/cppdap")
+         (commit (string-append "dap-" version))))
+       (sha256
+        (base32
+         "0fq2w35fw1lb5wya1nny45pk3a13b689k48calk1cmqmqpbcjn2b"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags #~(list "-DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON")
+      #:phases #~(modify-phases %standard-phases
+                   (delete 'check))))
+    (propagated-inputs
+     (list nlohmann-json))
+    (home-page "https://github.com/google/cppdap")
+    (synopsis "C++ library for the Debug Adapter Protocol")
+    (description
+     "cppdap is a C++11 library (\"SDK\") implementation of the Debug Adapter Protocol,
+providing an API for implementing a DAP client or server.
+cppdap provides C++ type-safe structures for the full DAP specification, and provides
+ a simple way to add custom protocol messages.")
+    (license license:expat)))
+
 (define-public c-vise
   (package
     (name "c-vise")
-- 
2.41.0





             reply	other threads:[~2024-04-15 14:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 14:23 Daniel Ziltener via Guix-patches via [this message]
2024-04-15 16:26 ` [bug#70397] [PATCH] gnu: Add cppdap Zheng Junjie
2024-04-15 21:54   ` Daniel Ziltener via Guix-patches via
2024-04-15 21:54   ` Daniel Ziltener via Guix-patches via
2024-04-15 21:57   ` Daniel Ziltener via Guix-patches via
2024-04-15 21:57   ` Daniel Ziltener via Guix-patches via
2024-04-15 22:04   ` Daniel Ziltener via Guix-patches via
2024-04-23  8:57   ` bug#70397: " Z572
2024-04-15 16:42 ` [bug#70397] [PATCH] gnu: cppdap: Add cppdap to debug.scm Zheng Junjie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=922b1372b2b1e8b1ea642fe85d33e9fd@lyrion.ch \
    --to=guix-patches@gnu.org \
    --cc=70397@debbugs.gnu.org \
    --cc=dziltener@lyrion.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).